Last active
December 15, 2015 12:09
-
-
Save cgddrd/5257957 to your computer and use it in GitHub Desktop.
Two Bash/Terminal commands that are very useful for word processing.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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