The options in set Options can be turned on with
set -arg command. They are all
initially off except where noted. Full names, where listed, are arguments
to set that can be used with
set -o. The full names
braceexpand, histexpand, history, keyword, and
onecmd are not available in versions of
bash prior to 2.0. Also, in those versions, hashing
is switched with
Table A-6. set options
Full name (-o)
Export all subsequently defined or modified variables.
The shell performs brace expansion. This is on by default.
Report the status of terminating background jobs immediately.
Don’t allow redirection to overwrite existing files.
Any trap on
Exit the shell when a simple command exits with
nonzero status. A simple command is a command not part of a
Use Emacs-style command-line editing.
Disable pathname expansion.
Enable ! style history substitution. On by default in an interactive shell.
Enable command history. On by default in interactive shells.
Enable the hashing of commands.
Disallow Ctrl-D to exit the shell.
All arguments in the form of assignment statements are placed in the environment for ...