PERFORCE change 158046 for review
Gábor Kövesdán
gabor at FreeBSD.org
Sat Feb 21 18:36:43 PST 2009
Sam Leffler escribió:
> Gabor Kovesdan wrote:
>> http://perforce.freebsd.org/chv.cgi?CH=158046
>>
>> Change 158046 by gabor at gabor_server on 2009/02/22 01:19:13
>>
>> - Add support for GREP_OPTIONS
>>
>>
>
> How many apps take options via the environment? Not sure I like
> this--I can imagine very confusing situations caused by
> unseen/unnoticed environment variables.
You're right, it might by dangerous if it is misused, but GNU grep uses
it so we should support this to maintain compatibility. And in some
cases, it can be really useful, imagine that you always want to colorize
the output, you can just set GREP_OPTIONS="--color". I'd say that those
who don't like it, can just ignore this and don't use it all, while
others who have been using it can keep using it, that's fair enough.
(CC'd obrien@ as he was the proposer, who reminded me of this missing
feature.)
--
Gabor Kovesdan
EMAIL: gabor at FreeBSD.org
WWW: http://www.kovesdan.org
More information about the p4-projects
mailing list