Re: Problem with the find command

From: Alan Connor (xxxxxx_at_xxxx.xxx)
Date: 07/29/03


Date: Tue, 29 Jul 2003 19:25:41 GMT

On Tue, 29 Jul 2003 11:34:18 -0700, Erik Max Francis <max@alcyone.com> wrote:
>
>
> Alan Connor wrote:
>
>> Then why did
>>
>> find ~foo/* -name '*.css' -print 2>/dev/null
>>
>> work?
>
> Because that's a shell glob, and shell globs go through symbolic links.
> It's easy enough to check out. Type
>
> ls -d ~foo
> ls -d ~foo/*
>

Interesting! A directory listing is a symbolic link? But ls -d STILL strikes
me as a useless option (yes, that's bait :-)

Alan

-- 
      For Linux/Bash users: Eliminate spam with
      the Mailbox-Sentry-Program. See the thread
      MSP on comp.mail.misc for the scripts and docs.
     


Relevant Pages

  • Re: Problem with the find command
    ... Alan Connor wrote: ... >> Because that's a shell glob, and shell globs go through symbolic links. ... Please DON'T copy followups to me -- I'll assume it wasn't posted to the group. ...
    (comp.unix.questions)
  • Re: Problem with the find command
    ... Alan Connor wrote: ... Because that's a shell glob, and shell globs go through symbolic links. ... \__/ Oscar Wilde ...
    (comp.unix.questions)