… | |
… | |
31 | parsed |
31 | parsed |
32 | .RI ( parameters |
32 | .RI ( parameters |
33 | in the |
33 | in the |
34 | .BR SYNOPSIS). |
34 | .BR SYNOPSIS). |
35 | The second part will start at the first non\-option parameter |
35 | The second part will start at the first non\-option parameter |
36 | that is not an option argument, or after the first occurence of |
36 | that is not an option argument, or after the first occurrence of |
37 | .RB ` \-\- '. |
37 | .RB ` \-\- '. |
38 | If no |
38 | If no |
39 | .RB ` \-o ' |
39 | .RB ` \-o ' |
40 | or |
40 | or |
41 | .RB ` \-\-options ' |
41 | .RB ` \-\-options ' |
… | |
… | |
98 | .BR getopt (3) |
98 | .BR getopt (3) |
99 | routines when it reports errors. Note that errors of |
99 | routines when it reports errors. Note that errors of |
100 | .BR getopt (1) |
100 | .BR getopt (1) |
101 | are still reported as coming from getopt. |
101 | are still reported as coming from getopt. |
102 | .IP "\-o, \-\-options shortopts" |
102 | .IP "\-o, \-\-options shortopts" |
103 | The short (one\-character) options to be recognized. If this options is not |
103 | The short (one\-character) options to be recognized. If this option is not |
104 | found, the first parameter of |
104 | found, the first parameter of |
105 | .B getopt |
105 | .B getopt |
106 | that does not start with |
106 | that does not start with |
107 | a |
107 | a |
108 | .RB ` \- ' |
108 | .RB ` \- ' |
… | |
… | |
282 | Only if the first character of the short options string was a |
282 | Only if the first character of the short options string was a |
283 | .RB ` \- ', |
283 | .RB ` \- ', |
284 | non\-option parameter output is generated at the place they are found in the |
284 | non\-option parameter output is generated at the place they are found in the |
285 | input (this is not supported if the first format of the |
285 | input (this is not supported if the first format of the |
286 | .B SYNOPSIS |
286 | .B SYNOPSIS |
287 | is used; in that case all preceding occurences of |
287 | is used; in that case all preceding occurrences of |
288 | .RB ` \- ' |
288 | .RB ` \- ' |
289 | and |
289 | and |
290 | .RB ` + ' |
290 | .RB ` + ' |
291 | are ignored). |
291 | are ignored). |
292 | .SH QUOTING |
292 | .SH QUOTING |
… | |
… | |
431 | The syntax if you do not want any short option variables at all is |
431 | The syntax if you do not want any short option variables at all is |
432 | not very intuitive (you have to set them explicitely to the empty |
432 | not very intuitive (you have to set them explicitely to the empty |
433 | string). |
433 | string). |
434 | |
434 | |
435 | .SH AUTHOR |
435 | .SH AUTHOR |
436 | Frodo Looijaard <frodol@dds.nl> |
436 | Frodo Looijaard <frodo@frodo.looijaard.name> |
437 | .SH "SEE ALSO" |
437 | .SH "SEE ALSO" |
438 | .BR getopt (3), |
438 | .BR getopt (3), |
439 | .BR bash (1), |
439 | .BR bash (1), |
440 | .BR tcsh (1). |
440 | .BR tcsh (1). |
441 | |
441 | |