Notes of a forgetful coder
Friday, June 24, 2011
grep character count
Use grep to count the frequency of a character in a file:
grep o 'character' filename | wc -l
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment