aboutsummaryrefslogtreecommitdiffstats
path: root/examples/functions/manpage
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2004-07-27 13:29:18 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:56 +0000
commitb80f6443b6b7b620c7272664c66ecb0b120a0998 (patch)
tree9f71c98d8fe8fa0f41d95e1eb4227f32a09d43ca /examples/functions/manpage
parent7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (diff)
downloadandroid_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.gz
android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.bz2
android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.zip
Imported from ../bash-3.0.tar.gz.
Diffstat (limited to 'examples/functions/manpage')
-rw-r--r--examples/functions/manpage4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/functions/manpage b/examples/functions/manpage
index 224643e..60f9aed 100644
--- a/examples/functions/manpage
+++ b/examples/functions/manpage
@@ -70,7 +70,7 @@ function whatis ()
function apropos ()
{
- whatis_internal "$1" "fgrep"
+ whatis_internal "$1" "grep -F"
}
# Note: "-" and "-t" together not supported. This man could be
@@ -102,7 +102,7 @@ function man ()
g="grep -w"
a=$(basename "$2")
else
- g=fgrep
+ g="grep -F"
a="$2"
fi
whatis_internal "$a" "$g"