[quote] How to comment multi-lines in bash shell script.

From 

http://stackoverflow.com/questions/947897/block-comments-in-a-shell-script

In bash:

#!/bin/bash
echo before comment
: <<'END'
bla bla
blurfl
END
echo after comment

The ' and ' around the first END delimiter is important, otherwise things inside the block like for example $(command) will be parsed and executed.

原文地址:https://www.cnblogs.com/lake-of-embedded-system/p/3484287.html