bug-grep
[Top][All Lists]
Advanced

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

bug#19998: GREP_OPTIONS alternative?


From: Paul Eggert
Subject: bug#19998: GREP_OPTIONS alternative?
Date: Wed, 04 Mar 2015 14:43:41 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/03/2015 09:55 PM, Christian Kujau wrote:
what's the alternative to have
some nice grep defaults and still be portable across platforms?

You can put a script like this in $HOME/bin:

#! /bin/sh
export PATH=/usr/bin
exec grep --color=auto --devices=skip "$@"

and then prepend $HOME/bin to your PATH.





reply via email to

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