Q. I’d like to use multiline comments under shell script. Under C / C++ I can use format /* my c code comment # 2 blah */ How do I put multi line comment under a shell script? A. By default shell script can be commented out prefixing # character for example: # my comment [...]
Shell script put multiple line comment
by nixCraft on July 30, 2007 · 10 comments
Q. I’d like to use multiline comments under shell script. Under C / C++ I can use format /* my c code comment # 2 blah */ How do I put multi line comment under a shell script? A. By default shell script can be commented out prefixing # character for example: # my comment [...]
{ 10 comments }