On Tue, Aug 03, 2010 at 10:36:05AM +0200, Christoph Kukulies wrote: > -- has special meaning in some unix command lines to provide an > escape when names starting with a "-"-sign > are concerned. (doesn't getopt use it as an escape anyway? not sure). > > mkdir -- -foo > rmdir -- -foo
-- means "end of option arguments". > How about > > mutt -a * \; j...@foo.bar > > ? Lots of conventions could be established, but none that getopt/getopts would know already. For example, using '' results in no ambiguity (you can have files named ';', but not files named ''). Either way, the matter is clearly closed for the time being. Nico --