Timeline for Cat write text with "$" inside
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 26, 2020 at 15:29 | vote | accept | TheNiceGuy | ||
| Jan 6, 2020 at 8:24 | review | Suggested edits | |||
| Jan 6, 2020 at 8:56 | |||||
| Dec 9, 2013 at 2:18 | comment | added | hildred | yes It is by design. If you want to use variables in your here-document you want one behavior, If you want simpler quoting you want another. | |
| Dec 9, 2013 at 0:14 | comment | added | Ketan | I do not understand the purpose of such subtlety in bash. Is it by design? Could some one explain. Thanks. | |
| Dec 8, 2013 at 23:55 | comment | added | slm♦ | @Michael - please be sure to mark this as the accepted answer so that others know your issue's been resolved. | |
| Dec 8, 2013 at 23:21 | comment | added | Chris Down |
@Michael - It's just the delimiter that indicates the end of the heredoc. You could just as validly use FOO, and end the heredoc with FOO on a line by itself.
|
|
| Dec 8, 2013 at 23:21 | comment | added | TheNiceGuy |
Thanks it works. Could you explain what the 'EOF' doe exactly? Thanks
|
|
| Dec 8, 2013 at 23:18 | history | answered | Chris Down | CC BY-SA 3.0 |