Wolfram Schneider
728999c8b2
Cleanup exit status; 2: syntax error, 0: keyword matched,
...
$exit_nomatch: no keyword matched. Default value for variable
exit_nomatch is 0 because `man -k' don't like exit status != 0
Detected by: "Stephen J. Roznowski" <sjr@zombie.ncsc.mil>
1996-09-14 23:20:33 +00:00
Wolfram Schneider
5a80fb277e
sync copyright with /usr/share/examples/etc/bsd-style-copyright
1996-08-27 20:04:45 +00:00
Wolfram Schneider
bfab15f069
Exits 0 on success, and 1 if no keyword matched.
...
Start $PAGER only if we find a manual page.
1996-07-08 20:03:18 +00:00
Wolfram Schneider
d31934acb9
share the code between apropos and whatis
1996-03-10 18:52:33 +00:00
Wolfram Schneider
d37cc74768
print error messages to stderr
...
don't fail if search arguments contain spaces
allow programs from $PATH as PAGER
faster
1996-02-25 23:41:46 +00:00
Jordan K. Hubbard
f629c45f00
Newer new man page reader.
1993-07-07 23:07:02 +00:00