]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvdist
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / test / rcv / test-rcvdist
index 720b1bf..21d5904 100755 (executable)
@@ -33,7 +33,7 @@ Usage: rcvdist [switches] [switches for postproc] address ...
 EOF
 
 #### Skip nmh intro text.
-run_prog "$rcvdist" -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog "$rcvdist" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version