Charles Levert wrote: > The find command already does not follow symbolic links by default, so that > the following pipeline can be used: > > find /usr/include -type f -print0 | xargs -0r grep -H lstat
Yes. Must bettern. > instead of a hypothetically new > > grep -r --no-recurse-symlinks lstat /usr/include Ugh. > Do we really need to duplicate all of find's expressiveness in grep? Putting directory recursion into grep opened a Pandora's box of problems such as these. It seems strange that grep follows symlinks... Bob