Skip to content

Instantly share code, notes, and snippets.

@fabriceleal
Created September 12, 2013 14:54
Show Gist options
  • Save fabriceleal/6538819 to your computer and use it in GitHub Desktop.
Save fabriceleal/6538819 to your computer and use it in GitHub Desktop.
Wrap all lines in a file with "..."
cat some_in_file.txt | sed 's/^.*$/"&"/g' > some_out_file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment