Xref: utzoo comp.lang.c:9068 comp.unix.wizards:7661 Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!ulysses!hector!ekrell From: ekrell@hector.UUCP (Eduardo Krell) Newsgroups: comp.lang.c,comp.unix.wizards Subject: Re: command line options Message-ID: <10219@ulysses.homer.nj.att.com> Date: 9 Apr 88 13:35:28 GMT References: <2414@zyx.UUCP> <8039@elsie.UUCP> <7628@brl-smoke.ARPA> <7630@brl-smoke.ARPA> <8041@elsie.UUCP> Sender: netnews@ulysses.homer.nj.att.com Reply-To: ekrell@hector (Eduardo Krell) Organization: AT&T Bell Labs, Murray Hill Lines: 11 In article <8041@elsie.UUCP> ado@elsie.UUCP writes: >The first time around I get the right result--a usage message. The second >time, though, the contents of "-x" is dumped in wide format. That's because the shell is expanding -? to "-w -x". If there is no match, the shell leaves the -? alone. Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {ihnp4,ucbvax}!ulysses!ekrell ARPA: ekrell@ulysses.att.com