version 1.10, 2006/01/14 09:29:51 |
version 1.11, 2006/01/14 09:37:24 |
|
|
.Sq - |
.Sq - |
and in its own shell argument; |
and in its own shell argument; |
each option argument is also in its own shell argument. |
each option argument is also in its own shell argument. |
|
.Pp |
|
Note that the construction |
|
.Cm set -- `getopt optstring $*` |
|
is not recommended, |
|
as the exit value from |
|
.Dq set |
|
will prevent the exit value from |
|
.Nm |
|
from being determined. |
.Sh EXAMPLES |
.Sh EXAMPLES |
The following code fragment shows how one might process the arguments |
The following code fragment shows how one might process the arguments |
for a command that can take the options |
for a command that can take the options |