Skip to content

Instantly share code, notes, and snippets.

@bmcculley
Created November 6, 2014 04:15
Show Gist options
  • Save bmcculley/e1ff0690fe6245216f9a to your computer and use it in GitHub Desktop.
Save bmcculley/e1ff0690fe6245216f9a to your computer and use it in GitHub Desktop.
Gonna keep all my sweet one liners here, more to come soon
delete all lines from nw.txt containing snatch
perl -pi -e 'if(/snatch/){undef $_}' nw.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment