Skip to content

Instantly share code, notes, and snippets.

@lotsofcode
Created April 9, 2012 16:06
Show Gist options
  • Save lotsofcode/2344460 to your computer and use it in GitHub Desktop.
Save lotsofcode/2344460 to your computer and use it in GitHub Desktop.
Simple copying and replacing and outputting to a new file
sed 's/STRING_1/STRING_2/' input.file >> output.file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment