Bug#871835: auto detect grep options
On Fri, 2017-09-22 at 12:56 +0200, Thomas Lange wrote: > Here's the patch that automatically detects if grep supports the Perl > regex. [...] > + set +e You don't need to turn off errexit if you test the result of a command. > + if grep -q --perl-regexp . /dev/null >/dev/null 2>&1; then >
Bug#871835: auto detect grep options
Here's the patch that automatically detects if grep supports the Perl regex. 0008-automatic-detect-if-grep-support-perl-regex.patch Description: Binary data -- regards Thomas