]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvtty
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / test / rcv / test-rcvtty
index 800d0fb..4f1d498 100755 (executable)
@@ -38,7 +38,7 @@ Usage: rcvtty [command ...]
 EOF
 
 #### Skip nmh intro text.
-run_prog "$rcvtty" -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog "$rcvtty" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version