Skip to content

Instantly share code, notes, and snippets.

@codeswimmer
Created January 18, 2013 17:21
Show Gist options
  • Select an option

  • Save codeswimmer/4566281 to your computer and use it in GitHub Desktop.

Select an option

Save codeswimmer/4566281 to your computer and use it in GitHub Desktop.
bash: Add a '\' character to the end of each line in a file
sed 's/$/ \\/' payload.txt > result.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment