[BACK]Return to getopt.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / getopt

Diff for /src/usr.bin/getopt/getopt.1 between version 1.10 and 1.11

version 1.10, 2006/01/14 09:29:51 version 1.11, 2006/01/14 09:37:24
Line 36 
Line 36 
 .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

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11