Created
October 17, 2012 09:53
-
-
Save dyng/3904747 to your computer and use it in GitHub Desktop.
create file from script with inline content
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
cat > path/to/outfile <<DELIM # DELIM can be any delimiter | |
hello line 1 | |
hello line 2 | |
bye | |
DELIM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment