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

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

Re: grep: default file if -r is used


From: Koblinger Egmont
Subject: Re: grep: default file if -r is used
Date: Fri, 11 Jun 2004 15:57:51 +0200 (CEST)

On Fri, 11 Jun 2004, Paul Jarc wrote:

> FWIW, I'd prefer -R or a new option.  (Even then, I'm not really happy
> with the fact that $GREP_OPTIONS could break a script.  But I suppose
> it can already break scripts in different ways.)

Sure it can... show me a script that always behaves correctly, no matter
how I set LANG, LC_*, SHELL, SHELLOPTS, IFS, USER, HOME, _POSIXLY_CORRECT,
_POSIX2_VERSION and a bunch of other variables... it's kind of impossible.
Scripts always assume that you have a reasonable set of env vars.


-- 
Egmont




reply via email to

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