9.1.1 Standard shell command description format
The description format for standard shell commands is as follows:
0command-name[
1option]...[
1option][
1operands]
-
First specify options, and then specify operands. Operands include option names, option values, and other arguments that can be specified in commands. If an operand is specified before an option, all specified items are treated as operands.
-
Specify an option in the format -option-name[
1value]. When there is more than one option, they can be specified in any order.
-
Options specified without a value can be grouped together in a block (for example, -a -b -c is equivalent to -abc). In this case, a value can be specified for the last option (for example, xyz in the specification -abc xyz is the value of option -c).
-
An error results if you specify an invalid option or an option's value is outside the permissible range of values.
-
Multibyte characters are not permitted in option-name.