Just something to replace the scraps of paper on my desk.
» Posts tagged: shell
Adding long form comments in shell script
February 18, 2022
- Posted in
When I have a shell script that I want to save some complex comments or notes in, instead of putting a comment mark before each line, I often will put a heredoc after the exit 0, like this... :