Created
December 2, 2016 15:00
-
-
Save JoshCheek/826f09daf1c792c0ba1cb46a4231fe97 to your computer and use it in GitHub Desktop.
A Bash heredoc example
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
$ sed 'p;s/b/w/' <<HERE | sed 'p;s/a/e/' | |
> bat | |
> ball | |
> HERE | |
bat | |
bet | |
wat | |
wet | |
ball | |
bell | |
wall | |
well |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment