# Use proper program, maybe not the first one on PATH.
slocal="$MH_LIBEXEC_DIR"/slocal
+$slocal - >/dev/null 2>&1 || true # gcov
+
expected="$MH_TEST_DIR"/$$.expected
actual="$MH_TEST_DIR"/$$.actual
actual2="$MH_TEST_DIR"/$$.actual2
EOF
#### Skip nmh intro text.
-run_prog $slocal -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog $slocal -help | sed '/^$/,$d' >"$actual" 2>&1
check "$expected" "$actual"
# check -version