]> diplodocus.org Git - nmh/blobdiff - test/anno/test-anno
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / test / anno / test-anno
index 6d45cacfdd30ebe82fe5c0541f836aad41eba252..3f8fe5b479063d50317513ce1a3d7ca4e6ecfdf8 100755 (executable)
@@ -40,7 +40,7 @@ Usage: anno [+folder] [msgs] [switches]
 EOF
 
 #### Skip nmh intro text.
 EOF
 
 #### Skip nmh intro text.
-run_prog anno -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog anno -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version
 check "$expected" "$actual"
 
 # check -version