"Jack L. Stone" <ja...@sage-american.com> 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 _______________________________________________ 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"