Skip to content

Instantly share code, notes, and snippets.

@jkeam
Created October 12, 2017 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkeam/43b1434535f3b0db53a94f41fe598398 to your computer and use it in GitHub Desktop.
Save jkeam/43b1434535f3b0db53a94f41fe598398 to your computer and use it in GitHub Desktop.
I used this when taking multiline configs, like rsa keys to a single line that .env files can use.
awk '{printf "%s\\n", $0}' file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment