Invocation causes a warning about stray \ before " in grep
Bug report
- [x] search Github for a similar issue or PR before submitting
- [x] download the latest revision from Github and check if the bug is still present
- [x] show us the output of
screenfetch -v
:: Finding current resolution(s)...found as '1920x1080' grep: warning: stray \ before " grep: warning: stray \ before " :: Finding desktop environment...found as 'Not Present'
The above warning is emitted with grep --version:
grep (GNU grep) 3.8
Presumably caused by this:
Regular expressions with stray backslashes now cause warnings, as their unspecified behavior can lead to unexpected results. For example, '\a' and 'a' are not always equivalent https://bugs.gnu.org/39678. Similarly, regular expressions or subexpressions that start with a repetition operator now also cause warnings due to their unspecified behavior; for example, *a(+b|{1}c) now has three reasons to warn. The warnings are intended as a transition aid; they are likely to be errors in future releases.