]> diplodocus.org Git - nmh/blobdiff - test/anno/test-anno
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / test / anno / test-anno
index 6d45cac..3f8fe5b 100755 (executable)
@@ -40,7 +40,7 @@ Usage: anno [+folder] [msgs] [switches]
 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