i wonder what the "-f" switch is doing there.
Quote:
Originally Posted by man grep
-f FILE, --file=FILE
Obtain patterns from FILE, one per line. The empty file
contains zero patterns, and therefore matches nothing. (-f is
specified by POSIX.)
|
how
exactly did you search for the word inside those documents?
word documents contain the written text in plain text, more or less, afaik, but the "-w" option might block some results, e.g. if the word is followed immediately by some weird character, without a space in between.