set 命令

set -o option

This option is supported if the system supports the User Portability Utilities option.

It shall set various options, many of which shall be equivalent to the single option letters. See help set for options.

set –

The command set -- without argument shall unset all positional parameters and set the special parameter ‘#’ to zero.