X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3e4f493e89d831b319c585b3222004ffca5669f7..adcc6d9d4fd9128d36fab0ef0862604b90693e63:/test/mhparam/test-mhparam?ds=sidebyside diff --git a/test/mhparam/test-mhparam b/test/mhparam/test-mhparam index 29dd11f3..b29cba15 100755 --- a/test/mhparam/test-mhparam +++ b/test/mhparam/test-mhparam @@ -33,8 +33,15 @@ Usage: mhparam [profile-components] [switches] -(debug) EOF -mhparam -help >$actual 2>&1 -check $expected $actual +#### Skip nmh intro text. +# ???? debug +set +e +mhparam -help +echo now through sed: +mhparam -help | sed '/^$/Q' +# ???? debug +mhparam -help | sed '/^$/Q' >"$actual" 2>&1 +check "$expected" "$actual" # check -version case `mhparam -v` in