]> diplodocus.org Git - nmh/blobdiff - test/prompter/test-prompter
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / test / prompter / test-prompter
index 704f998..1950903 100755 (executable)
@@ -36,7 +36,7 @@ Usage: prompter [switches] file
 EOF
 
 #### Skip nmh intro text.
-run_prog prompter -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog prompter -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version