bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: grep -R vs. symlinks to directories


From: Stepan Kasal
Subject: Re: grep -R vs. symlinks to directories
Date: Tue, 15 Jul 2003 08:58:46 +0200
User-agent: Mutt/1.2.5.1i

Hello,

On Mon, Jul 14, 2003 at 01:30:07PM -0700, Paul Eggert wrote:
> Jim Meyering <address@hidden> writes:
> 
> > I really like grep's -R (--recursive) option and use it a lot.
> > However, I'm regularly annoyed to see that it makes grep follow symlinks
> > to directories.  In my case, that behavior has always been undesirable, so
> > I've simply turned it off in my copy.  This should probably be controlled
> > by an option.  It's a shame that the -P, -H, and -L options (typically
> > used to control how recursion works wrt symlinks) are already taken.
> > Maybe --dereference={always,never,command-line}?
> 
> I second this.  Also, the default should be --dereference=command-line.
> I can compose a patch if you like.

it would be very welcome, of course.

Thank you,
        Stepan




reply via email to

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