diff options
author | Jean Delvare <jdelvare@suse.de> | 2022-09-09 10:10:37 +0200 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2022-09-09 10:10:37 +0200 |
commit | f73f8d7f71de2878d3f92881a5fcb8eafd78cb5f (patch) | |
tree | e327aeecf2a13b57a52b7e508b744f7098f90349 /NEWS | |
parent | 6ccaaa6f3dbb16d0a0b07ef46deef1185f7138f2 (diff) | |
download | quilt-f73f8d7f71de2878d3f92881a5fcb8eafd78cb5f.tar.gz |
Avoid warnings with grep 3.8
GNU grep version 3.8 became more strict about needless quoting in
patterns. We have one occurrence of that in quilt, where "/"
characters are being quoted by default. There are cases where they
indeed need to be quoted (typically when used in a sed s/// command)
but most of the time they do not, and this results in the following
warning:
grep: warning: stray \ before /
So rename quote_bre() to quote_sed_re(), and introduce
quote_grep_re() which does not quote "/".
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions