Last active
August 29, 2015 14:03
-
-
Save yashprit/ca1a53ba81d6c00bee6b to your computer and use it in GitHub Desktop.
Shell Learning, small utility
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
Using tr for separating words and then grep and wc seems possible : | |
tr -s ' ' '\n' < file.txt | grep file | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment