]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / test / mkstemp / test-mkstemp
index 94ce056..fcc8cd5 100755 (executable)
@@ -48,7 +48,7 @@ else
 fi
 
 #### Skip nmh intro text.
-run_prog $mkstemp -h | sed '/^$/Q' >"$actual" 2>&1
+run_prog $mkstemp -h | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"