GNU Info

Info Node: (bashref.info)Comments

(bashref.info)Comments


Prev: Quoting Up: Shell Syntax
Enter node , (file) or (file)node

Comments
--------

   In a non-interactive shell, or an interactive shell in which the
`interactive_comments' option to the `shopt' builtin is enabled (Note:
Bash Builtins), a word beginning with `#' causes that word and all
remaining characters on that line to be ignored.  An interactive shell
without the `interactive_comments' option enabled does not allow
comments.  The `interactive_comments' option is on by default in
interactive shells.  Note: Interactive Shells, for a description of
what makes a shell interactive.


automatically generated by info2www version 1.2.2.9