Skip to content

Instantly share code, notes, and snippets.

@atomize
Created March 13, 2017 07:14
Show Gist options
  • Save atomize/07bbd2c05112b9eea3a8299473092f1f to your computer and use it in GitHub Desktop.
Save atomize/07bbd2c05112b9eea3a8299473092f1f to your computer and use it in GitHub Desktop.
Prints only what is after printonlywhatsafterme
sed -n -e 's/^.*printonlywhatsafterme //p' textfile.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment