3 ms·
Have you thought about environment variable GREP_OPTIONS? https://www.gnu.org/software/grep/manual/grep.html#Environment-Variables https://www.gnu.org/software/
by jindraj 7y ago
Have you thought about environment variable GREP_OPTIONS?
https://www.gnu.org/software/grep/manual/grep.html#Environment-Variables https://www.gnu.org/software/grep/manual/grep.html#Environme...
You can define it at the beginning of the script.
- yellowapple 7y ago> As this causes problems when writing portable scripts, this feature will be removed in a future release of grep, and grep warns if it is used. Please use an alias or script instead.