]> diplodocus.org Git - nmh/blobdiff - test/format/test-dp
Just show relevant portion of invalid encoded string.
[nmh] / test / format / test-dp
index 2c5b996..19e28c3 100755 (executable)
@@ -37,7 +37,7 @@ Usage: dp [switches] dates ...
 EOF
 
 #### Skip nmh intro text.
-run_prog "$dp" -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog "$dp" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version