]> diplodocus.org Git - nmh/blobdiff - test/format/test-fmtdump
Add mh_xstrdup() that exits on allocation failure.
[nmh] / test / format / test-fmtdump
index 5c822db..259e12a 100755 (executable)
@@ -36,7 +36,7 @@ Usage: fmtdump [switches]
 EOF
 
 #### Skip nmh intro text.
-"$fmtdump" -help | sed '/^$/Q' >"$actual" 2>&1
+"$fmtdump" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version