The bash intepreterBash interpreter itself has options, i.e.
LinesFor example, those mentioned on lines 22-23 of bash's man pageBash's man page:
OPTIONS
OPTIONS
All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash interprets the following options when it is invoked:
-c ...
-i ...
-l ...
-r ...
All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash interprets the following options when it is invoked:
-c ...
-i ...
-l ...
-r ...
I've used a few search patterns in bashBash's man page like:
/^\s*set
/list
Is it possible to print a list of these settings that are applied to the current shell?