[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grep -r with no files should imply ./
From: |
Stepan Kasal |
Subject: |
Re: Grep -r with no files should imply ./ |
Date: |
Sun, 8 Feb 2004 16:31:30 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Sun, Feb 08, 2004 at 10:55:29AM +0100, Stepan Kasal wrote:
> It's difficult to decide; perhaps the best way is to say that -r, --recursive
> behaves differently then --directories=recurse.
I have to apologize, I meant to say "the best non-void change could be".
But I don't like the idea of tricking users which have GREP_OPTIONS="-r".
As I don't see any good solution, I tend to leave it as is.
(As Karl wrote in a mail to me:
"The cure would be worse then the disease.")
If you really need the functionality, write an alias or a shell function
wrapping grep.
Stepan Kasal