]> diplodocus.org Git - nmh/blobdiff - test/format/test-dp
Add NEW(p) that sets p to mh_xmalloc'd memory sized by *p.
[nmh] / test / format / test-dp
index 2c5b99608f9d5ae889f8e7c22a3943cab135d46c..19e28c330a89c358a634ff296333868463a85f95 100755 (executable)
@@ -37,7 +37,7 @@ Usage: dp [switches] dates ...
 EOF
 
 #### Skip nmh intro text.
-run_prog "$dp" -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog "$dp" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version