Created
October 12, 2017 16:57
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '{printf "%s\\n", $0}' file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment