[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #23920] find.1: please add short note about no trailing slashes for

From: James Youngman
Subject: [bug #23920] find.1: please add short note about no trailing slashes for directories
Date: Fri, 10 Apr 2009 12:09:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/2009032813 Iceweasel/3.0.6 (Debian-3.0.6-1)

Follow-up Comment #7, bug #23920 (project findutils):

"shell pattern" does have a specific meaning; see 
for example. 

I don't understand your point here:

<< Note that the result line of an object differs depending on the given
search path, you have take care of this in your "-path" expressions.

cd ~
find find1 ./find1 ~/find1 -type d -name "test1"
=> find1/test1
=> ./find1/test1
=> /root/find1/test1 (or /home/<user>/find1/test1) 

The example presumably relates to the paragraph before it, but it doesn't use

Certainly -name 'foo/' will not match anything, since / is not part of the
basename of any file other than / and //.   On the other hand "-path foo/"
will match something if ./foo/. exists and foo/ was a command line argument.

This behaviour is required by POSIX; see

However, maybe I misunderstood your point an so I'm responding to something
you didn't actually say.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]