diff options
| author | Wolfram Schneider <wosch@FreeBSD.org> | 1996-09-27 17:36:50 +0000 |
|---|---|---|
| committer | Wolfram Schneider <wosch@FreeBSD.org> | 1996-09-27 17:36:50 +0000 |
| commit | 412467fa26d3448b7d6e2d0453160d89fb85c3a1 (patch) | |
| tree | 159577faf84604872c56817774daae20f421d86d /gnu/usr.bin/man/apropos | |
| parent | 633b3caa8f47de08e9fc5a8863126e07ae19466a (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/man/apropos')
| -rw-r--r-- | gnu/usr.bin/man/apropos/apropos.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/man/apropos/apropos.sh b/gnu/usr.bin/man/apropos/apropos.sh index 1545decaafbc..f726f1fb8b31 100644 --- a/gnu/usr.bin/man/apropos/apropos.sh +++ b/gnu/usr.bin/man/apropos/apropos.sh @@ -15,7 +15,7 @@ # The University of Texas at Austin # Austin, Texas 78712 # -# $Id: apropos.sh,v 1.5 1996/08/27 20:03:55 wosch Exp $ +# $Id: apropos.sh,v 1.6 1996/09/14 23:20:33 wosch Exp $ PATH=/bin:/usr/bin:$PATH @@ -71,7 +71,7 @@ esac for manpage do - if grep -hi $grepopt "$manpage" $mandir; then : + if grep -hi $grepopt -- "$manpage" $mandir; then : else echo "$manpage: nothing appropriate" fi @@ -90,9 +90,9 @@ done | # nothing found, exit if test -z "$line" -a ! -z "$line2"; then - printf "$line2" + printf -- "$line2" exit $exit_nomatch else - ( printf "$line2"; echo $line; cat ) | $PAGER + ( printf -- "$line2"; echo $line; cat ) | $PAGER fi ) |
