Embedding a Gist

Grep a string-digit-string pattern where the numerical value must have more than one digit and output it to a text file:


cat filename.txt | grep -w -o "string [0-9]\{1,\} string" > output.txt

view raw

gistfile1.txt

hosted with ❤ by GitHub

Posted on April 25, 2014, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.