If you type help set
, then - among other things - a list of shell options is displayed. But these options are not the same as those displayed with shopt
. And different also from those displayed with set
and env
.
Is there a command which displays options such as errexit
and braceexpand
and their current values?
Also, what is the connection between the different option commands? What does set
display that env
doesn't / what does shopt
display that set
doesn't / etc ?
(bash 3.2.51 on Mac OS X 10.9.1)