Notes to Self

Alex Sokolsky's Notes on Computers and Programming

grep (global regular expression print)

grep man page

Tokenize input

This will print one word per line:

grep -oE '\w+'

Exclusions

Filter out words in exclude-words file from stdin.

grep -vwFf exclude-words