Re:If you use GNU grep on text files, use the -a (--text) op...
by jindraj on Tuesday April 21, 2020 @05:10PM
(#22939364)
Have you thought about environment variable GREP_OPTIONS?
https://www.gnu.org/software/grep/manual/grep.html#Environme...
You can define it at the beginning of the script.
[ Parent
| on HN ]
Re:If you use GNU grep on text files, use the -a (--text) op...
by yellowapple on Tuesday April 21, 2020 @05:13PM
(#22939385)
> 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.