aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man/apropos
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2001-03-30 10:31:46 +0000
committerWolfram Schneider <wosch@FreeBSD.org>2001-03-30 10:31:46 +0000
commit66eda5d765d1c827ac20747a1630a63f665c0b35 (patch)
treea725e6207cc213e890e1c34836b7e4d9fdba0383 /gnu/usr.bin/man/apropos
parentb2e9880db07ae264a379ee030e0245b598226548 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/man/apropos')
-rw-r--r--gnu/usr.bin/man/apropos/apropos.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/man/apropos/apropos.sh b/gnu/usr.bin/man/apropos/apropos.sh
index f316bfff8e66..98cd13f11d1d 100644
--- a/gnu/usr.bin/man/apropos/apropos.sh
+++ b/gnu/usr.bin/man/apropos/apropos.sh
@@ -64,7 +64,7 @@ do
mandir="$mandir $d/$db"
fi
- # Check for locailzed manpage subdirectories
+ # Check for localized manpage subdirectories
if [ X"$man_locales" != X ]; then
for l in $man_locales
do
@@ -102,10 +102,10 @@ done |
done
# nothing found, exit
- if test -z "$line" -a ! -z "$line2"; then
+ if [ -z "$line" -a ! -z "$line2"]; then
printf -- "$line2"
exit $exit_nomatch
else
- ( printf -- "$line2"; echo $line; cat ) | $PAGER
+ ( printf -- "$line2"; echo "$line"; cat ) | $PAGER
fi
)