Created
September 13, 2017 20:20
-
-
Save geoffrepoli/68344a63a89af1aada36604af39ca49b to your computer and use it in GitHub Desktop.
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
str=$(echo -e "$(cat <<EOF | |
this | |
\tis | |
\t\tmy | |
\t\t\theredoc | |
EOF | |
)") | |
echo "$str" > file.ext |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment