]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvtty
Replaced use of GNU sed extension.
[nmh] / test / rcv / test-rcvtty
index f0e6558f02bd44f74ad74aaec3383ab6dc4917e0..4f1d4988ad4ebe0c6e31e220b1dc7ff53f3e17af 100755 (executable)
@@ -37,7 +37,8 @@ Usage: rcvtty [command ...]
   -help
 EOF
 
-run_prog $rcvtty -help >"$actual" 2>&1
+#### Skip nmh intro text.
+run_prog "$rcvtty" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version