"Jack L. Stone" <[email protected]> writes:

> 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.

Perhaps, `-e' option?

  $ printf 'foo\nbar\n' | fgrep -e foo -e bar
  foo
  bar
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to