Skip to content

Instantly share code, notes, and snippets.

@dyng
Created October 17, 2012 09:53
Show Gist options
  • Save dyng/3904747 to your computer and use it in GitHub Desktop.
Save dyng/3904747 to your computer and use it in GitHub Desktop.
create file from script with inline content
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