If you call w3m without any arguments, you get a usage() output.
By now this help text is longer than 23 lines, which means it
doesn't fit on a standard terminal screen. However, if you try to
direct the usage message into a pager
$ w3m 2>&1 | less
all you get is "w3m: Can't redirect". You can't view the help text
(without going through some contortions)!
Obviously, the check whether stdout has been redirected should come
*after* the help text is printed for a lack of arguments.
-- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de
This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT