Skip to content

Instantly share code, notes, and snippets.

@cgddrd
Last active December 15, 2015 12:09
Show Gist options
  • Save cgddrd/5257957 to your computer and use it in GitHub Desktop.
Save cgddrd/5257957 to your computer and use it in GitHub Desktop.
Two Bash/Terminal commands that are very useful for word processing.
//Return all 8 letter words in a file.
grep '^........$' linuxwords.txt > words8.txt
//Bash to turn all upper case letters/words to lower case.
tr '[:upper:]' '[:lower:]' < words15.txt > words15.dat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment