Re: ANNOUNCE: Optik 1.3 released
"A.T. Hofkamp" <[email protected]> Mon, 15 Apr 2002 15:30:08 +0200 (CEST)
| Newsgroups | gmane.comp.python.getopt |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 15 Apr 2002, Matthias Urlichs wrote: > All programs which use the normal command-line parsers understand "--" > as the standard workaround for this bug. That's not an rm-specific feature > either; it even works with shell scripts. ;-) Depends in what Unix-world you live. I once had this problem on a Solaris box, and even rm -- -myfile would not work. Also, as far as I know, the standard getopt does not include the '--' as 'end of option processing'. I believe it is a GNU-invention/extension, just like long options (i.e. the GNU version of getopt recognizes '--'). Therefore, on e.g. Linux, rm -- -myfile works. (but you'd have to look in the POSIX standard for the final answer). Maybe we need a --allow-- flag in our option processing package :-) Albert -- Unlike popular believe, the .doc format is not an open publically available format.