Created
November 18, 2013 19:55
-
-
Save ilacorda/7534273 to your computer and use it in GitHub Desktop.
Grep a string-digit-string pattern where the numerical value must have more than one digit and output it to a text file
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
cat filename.txt | grep -w -o "string [0-9]\{1,\} string" > output.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment