Browse Source

* dejagnu: Avoid use of semicolon as sed(1) command separator.

POSIX does not clearly require sed(1) to support that feature.

Signed-off-by: Ben Elliston <bje@gnu.org>
psql
Jacob Bachmeyer 8 years ago
committed by Ben Elliston
parent
commit
6c7789fa9f
  1. 5
      ChangeLog
  2. 2
      dejagnu

5
ChangeLog

@ -1,3 +1,8 @@
2018-12-29 Jacob Bachmeyer <jcb62281@gmail.com>
* dejagnu: Avoid use of semicolon as sed(1) command separator.
POSIX does not clearly require sed(1) to support that feature.
2018-12-28 Jacob Bachmeyer <jcb62281@gmail.com>
* testsuite/lib/util-defs.exp: Whitespace clean up.

2
dejagnu

@ -402,7 +402,7 @@ if $want_help ; then
exit 2
fi
help_prefix_pat=$(grep '#help' "$help_file" \
| sed 's/#help.*$//;1q' | tr '[:print:][:blank:]' .)
| sed -e 's/#help.*$//' -e '1q' | tr '[:print:][:blank:]' .)
if expr "$verbose" \> 1 > /dev/null ; then
echo Extracting help from "'$help_file'" with prefix "'$help_prefix_pat'"
fi

Loading…
Cancel
Save