I looked up the shell builtin command set by typing
help set, and the short syntax description shows:
set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
The help-documentation explains, that the variable $- holds all current parameters set with the set command.
So, I did
echo $- to display all parameter settings of the shell and mine was:
All of the letters are mentioned inside the documentation and the short syntax description from above, but one is missing: the i option. What does the
set parameter mean in bash?