What is the canonical way for accessing the local documentation on any available Shell Options builtin with shopt?I'm using Ubuntu 12.04 and can run help shopt to get a description of what shopt does:shopt: shopt [-pqsu] [-o] [optname ...]    Set and unset shell options.    ...I can list the various Shell Options and their values (shopt or shopt -p). But how do I find out what each one actually does without leaving the comfort of my Linux box? I'm not looking for the descriptions online. Is there a man page or something I'm missing?
How do you get descriptions of the available `shopt` options?
bash;shopt
See the shell builtin commands section of man bash; it has an entry for shopt that describes all of the available shell options. Here is an excerpt:   shopt [-pqsu] [-o] [optname ...]   [...]          autocd  If  set,  a command name that is the name of a directory                  is executed as if it were the argument to  the  cd  com-                  mand.  This option is only used by interactive shells.          cdable_vars                  If  set,  an  argument to the cd builtin command that is                  not a directory is assumed to be the name of a  variable                  whose value is the directory to change to.          cdspell If set, minor errors in the spelling of a directory com-                  ponent in a cd command will be  corrected.   The  errors                  checked for are transposed characters, a missing charac-                  ter, and one character too many.   If  a  correction  is                  found,  the corrected file name is printed, and the com-                  mand proceeds.  This option is only used by  interactive                  shells.          [...]