James Youngman wrote:
>>What implementation of find has this -wholename predicate?
>
>See the NEWS file. It's specific to GNU find.
Ah. My fault for not upgrading to the latest release before asking
about a missing feature. Thanks.
Still think it would be useful to print a warning when '-nam
James Youngman wrote:
>$ ./find . -name quux/umsp
>./find: warning: Unix filenames usually don't contain slashes
>(though pathnames do). That means that '-name quux/umsp' will
>probably evaluate to false all the time on this system. You
>might find the '-wholename' test more useful, or perhap
% find . -name foo/bar
Actual output: nothing
Desired output: warning: don't be silly, Unix filenames can't contain
a slash.
Alternatively, it could list all files called foo which are inside a
directory called bar under the current directory (which is what I was
kind of hoping for).
--
Ed Avis