command line options

Eduardo Krell ekrell at hector.UUCP
Sat Apr 9 23:35:28 AEST 1988


In article <8041 at elsie.UUCP> ado at 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 at ulysses.att.com



More information about the Comp.unix.wizards mailing list