]> diplodocus.org Git - nmh/blobdiff - test/repl/test-repl
Reworked BUGS section of nmh(7) man page, and added excerpt
[nmh] / test / repl / test-repl
index 20bb96d..6beea72 100755 (executable)
@@ -55,8 +55,9 @@ Usage: repl: [+folder] [msg] [switches]
   -nofmtproc
 EOF
 
   -nofmtproc
 EOF
 
-run_prog repl -help >$actual 2>&1
-check $expected $actual
+#### Skip nmh intro text.
+run_prog repl -help | sed '/^$/Q' >"$actual" 2>&1
+check "$expected" "$actual"
 
 # check -version
 case `repl -v` in
 
 # check -version
 case `repl -v` in