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