]> diplodocus.org Git - nmh/blobdiff - test/prompter/test-prompter
Alter HasSuffixC()'s char * to be const.
[nmh] / test / prompter / test-prompter
index 704f9986469ea6dcb1620158488ed686bfc23a0b..1950903c3be7ce95f3c254a9ad7d7fe02bc37336 100755 (executable)
@@ -36,7 +36,7 @@ Usage: prompter [switches] file
 EOF
 
 #### Skip nmh intro text.
 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
 check "$expected" "$actual"
 
 # check -version