| GNU Bash Reference Manual by Chet Ramey and Brian Fox Paperback (6"x9"), 180 pages ISBN 0954161777 RRP £19.95 ($29.95) "An essential resource .... the most detailed coverage available for all aspects of Bash" --- Linux User and Developer Magazine (Issue 37, Mar 2004) Get a printed copy>>> |
3.1.3 Comments
In a non-interactive shell, or an interactive shell in which the
interactive_comments option to the shopt
builtin is enabled (see section 4.2 Bash Builtin Commands),
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.
See section 6.3 Interactive Shells, for a description of what makes
a shell interactive.
| ISBN 0954161777 | GNU Bash Reference Manual | See the print edition |