Last active
October 13, 2017 07:22
-
-
Save edupo/6c1110632a9e325aa22b9f582c51e17e to your computer and use it in GitHub Desktop.
crt to one line
This file contains 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
#!/bin/bash | |
if [ -f "$1" ]; then | |
sed s/$/\\\\n/ "$1" | tr -d '\n' | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment