Created
November 17, 2012 02:36
-
-
Save ezkl/4092812 to your computer and use it in GitHub Desktop.
Using HEREDOC in the shell
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 <<EOF > testest | |
heredoc> $RANDOM | |
heredoc> EOF | |
~ $ cat testest | |
15816 | |
~ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment