Next: Meta-variable, Previous: Command substitution, Up: Top [Contents][Index]
Comments are multiline. They are introduced with the characters
${*
and extend up to the nearest pair of characters
*}
. Comments are removed from the output.
Comments can be disabled using the --Wno-comment option (see feature control).
To reproduce a portion of text verbatim (i.e. without expanding variables and substituting commands in it), enclose it in ‘$[’ and ‘]’ brackets. Newlines and balanced square brackets are allowed within that construct.
The special meaning of the ‘$[ ... ]’ construct can be disabled by the --Wno-quote option (see feature control).