diff options
author | ru <ru@FreeBSD.org> | 2002-08-07 17:39:35 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-08-07 17:39:35 +0000 |
commit | ec399842ca2ddac300251c658bcfb6f092997ff1 (patch) | |
tree | 20c57e0457f63ba9ad47d3b81a7aaae9376d87c0 /gnu/usr.bin/man/apropos/apropos.sh | |
parent | c9b1c6c3c7785ed179bd750d6e398ddbb1bff1c9 (diff) | |
download | FreeBSD-src-ec399842ca2ddac300251c658bcfb6f092997ff1.zip FreeBSD-src-ec399842ca2ddac300251c658bcfb6f092997ff1.tar.gz |
POSIX.1-2001 says ``man -k'' should produce results equivalent to
the ``grep -Ei'' searching.
MFC after: 3 days
Diffstat (limited to 'gnu/usr.bin/man/apropos/apropos.sh')
-rw-r--r-- | gnu/usr.bin/man/apropos/apropos.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/apropos/apropos.sh b/gnu/usr.bin/man/apropos/apropos.sh index f6be26b..043c3d0 100644 --- a/gnu/usr.bin/man/apropos/apropos.sh +++ b/gnu/usr.bin/man/apropos/apropos.sh @@ -84,7 +84,7 @@ esac for manpage do - if grep -hi $grepopt -- "$manpage" $mandir; then : + if grep -Ehi $grepopt -- "$manpage" $mandir; then : else echo "$manpage: nothing appropriate" fi |