[Top][All Lists]

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

Re: [patch #4354] add --no-recurse-symlinks feature

From: Bob Proulx
Subject: Re: [patch #4354] add --no-recurse-symlinks feature
Date: Sun, 28 Aug 2005 19:20:34 -0600
User-agent: Mutt/1.5.9i

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


> 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...


reply via email to

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