On 08/12/10 00:00, Jack L. Stone wrote:
Kindly appreciate help with how to grep (or similar) a list of words to
determine if any of them are in a file rather than grepping one word at a
time.

fgrep, aka grep -F

A snippet from "man grep":

       -F, --fixed-strings
              Interpret  PATTERN as a list of fixed strings, separated
              by newlines, any of which is to be matched.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to