Skip to content

Instantly share code, notes, and snippets.

@stefanbirkner
Created June 7, 2011 17:41
Show Gist options
  • Save stefanbirkner/1012725 to your computer and use it in GitHub Desktop.
Save stefanbirkner/1012725 to your computer and use it in GitHub Desktop.
sed example
#delete
cat sb | xargs sed -i 's/0, 1, 3, 2/0, 1, 3/g'
#replace
cat sb | xargs sed -i 's/0, 1, 2/0, 1, 3/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment