shellcheck: Fix SC2196 issues
See,
$ find . -name "*.sh" | xargs shellcheck -i SC2196
In ./roll-tarballs.sh line 163:
sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.(full|full\+lite)\.patch)" | while read -r file
^---^ SC2196: egrep is non-standard and deprecated. Use grep -E instead.
In ./roll-tarballs.sh line 200:
sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.full\+lite\.patch)" | while read -r file
^---^ SC2196: egrep is non-standard and deprecated. Use grep -E instead.
For more information:
https://www.shellcheck.net/wiki/SC2196 -- egrep is non-standard and depreca...
Signed-off-by:
Mario Trangoni <mjtrangoni@gmail.com>
Showing
Please
register
or
sign in
to comment