Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site luke.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!hao!hplabs!oliveb!bene!luke!sml From: sml@luke.UUCP (Steven List) Newsgroups: net.lang.c Subject: Re: Re: Pointer Trouble Right Here in Unix City Message-ID: <164@luke.UUCP> Date: Fri, 31-May-85 21:20:14 EDT Article-I.D.: luke.164 Posted: Fri May 31 21:20:14 1985 Date-Received: Mon, 3-Jun-85 00:15:39 EDT References: <179@gatech.CSNET> <11102@brl-tgr.ARPA> Distribution: net Organization: Benetics Corp, Mt.View, CA Lines: 15 > > *(*argv + 2) ? *argv += 2 : argv++; > > cond ? expr1 : expr2 > > P.S. Consider using the public-domain getopt() that I posted > a while back. (You can easily disable the checks that preclude > -xargument style options in favor of -x argument. I think those > restrictions in the spec are pretty silly anyway.) Could you send this or tell me where to get it? I am considering posting some software to the net, and generally use the standard getopt on my system. This would allow me to avoid changing all that code. Thanks.