grep

Lang: sh
1# get all lower case letters
2egrep '^[[:lower:]]+$' /usr/share/dict/words >/tmp/t.txt
3
4# remove duplicate lines
5grep -vxF -f /usr/share/dict/words /tmp/t2.txt >/tmp/t.txt