Subject: Re: setting and using progname.
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 10/05/2000 12:14:11
[ On Wednesday, October 4, 2000 at 21:50:15 (-0700), Greywolf wrote: ]
> Subject: Re: setting and using progname.
>
> What's wrong with '?:'  ?  It's perfectly good code and not silly at
> all.  If anything, it's more concise for a simple test.

It's also indespensible when you have several unrelated conditionals to
use in the same expression, such as in parameters to a printf() or
whatever.

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>