From: Alexis Laferrière Date: Thu, 28 Feb 2019 14:04:48 +0000 (-0500) Subject: misc/check_manpages.sh: add -E option to sed for for macOS compat. X-Git-Url: http://nitlanguage.org misc/check_manpages.sh: add -E option to sed for for macOS compat. Signed-off-by: Alexis Laferrière --- diff --git a/misc/jenkins/check_manpages.sh b/misc/jenkins/check_manpages.sh index b03b22a..c60113e 100755 --- a/misc/jenkins/check_manpages.sh +++ b/misc/jenkins/check_manpages.sh @@ -59,7 +59,7 @@ for bin in bin/nit*; do fi # Test what is expected - if ! diff -q <(sed 's/\s*(.*)//' check_manpages-from_help.out) <(sed 's/\s*(.*)//' check_manpages-from_man.out) > /dev/null; then + if ! diff -q <(sed -E 's/\s*(.*)//' check_manpages-from_help.out) <(sed -E 's/\s*(.*)//' check_manpages-from_man.out) > /dev/null; then echo "$opt: mismatch documentation in the manpage $man. Here the word diff:" echo "" wdiff check_manpages-from_help.out check_manpages-from_man.out | colordiff