Friday, July 31, 2015

How to Multiline Comments in Bash

One of the things I always missed in Bash scripting was the lack of multiline comments. Well, not anymore. I found the other day that you can trick Bash by using a here file as multiline comment.

Just make sure you don’t mention MY_COMMENT anywhere else in the code.

No comments: