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

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

Re: New grep feature (patch to 2.5e attached)


From: Alain Magloire
Subject: Re: New grep feature (patch to 2.5e attached)
Date: Tue, 22 May 2001 00:40:07 -0400 (EDT)

> 
> > From: Bernhard Rosenkraenzer <address@hidden>
> > Date: Mon, 21 May 2001 14:41:47 +0200 (CEST)
> 
> > I've added a new option to grep, "-D" or "--devices". It's much the same
> > as the current "-d" or "--directories" option, just for device files.
> 
> I like the general idea, but not that particular option name.  GNU
> fileutils 'cp' is already using "-R" or "--recursive" for the behavior
> that you're using "-D" or "--devices" for.  This is for conformance to
> POSIX, I think.  GNU grep should use option names that are consistent
> with GNU cp.  This may require changing the semantics of "grep
> --recursive", but that's OK.

I'm not sure I follow, you mean:
 -r,                ignore special files when going through directories
 -R, --recursive    grep to everything special files are not

If this the behaviour of GNU cp, it would be good to be consistent.

--
alain




reply via email to

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