Follow-up Comment #7, bug #23920 (project findutils): "shell pattern" does have a specific meaning; see http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13 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. Example: 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 -path. 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 http://www.opengroup.org/austin/interps/uploads/40/14959/AI-186.txt However, maybe I misunderstood your point an so I'm responding to something you didn't actually say. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?23920> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
