I'd rather see "use something very similar to getopt", because that's more canonical, although I don't know what echo is *supposed* to do with "--". :) echo -- -n actually, nothing i can find will "DTRT" with this. perhaps there is some standards thing about echo and -- ... ah, mouse says that everyone says getopt & echo is bad bad...