X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,a9dbbf08e4291708 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2003-01-02 12:27:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!xmission!news.stealth.net!news.stealth.net!news-east.rr.com!news-server.columbus.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.neo.rr.com.POSTED!not-for-mail From: "JJ" Newsgroups: alt.ascii-art References: <3e0c00ea.561563@News.CIS.DFN.DE> Subject: Re: Nerd Boy, episode 322 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <4n1R9.53280$%3.12961942@twister.neo.rr.com> Date: Thu, 02 Jan 2003 20:34:08 GMT NNTP-Posting-Host: 24.209.208.222 X-Complaints-To: abuse@rr.com X-Trace: twister.neo.rr.com 1041539648 24.209.208.222 (Thu, 02 Jan 2003 15:34:08 EST) NNTP-Posting-Date: Thu, 02 Jan 2003 15:34:08 EST Organization: Road Runner High Speed Online -- Northeast Ohio Xref: archiver1.google.com alt.ascii-art:21336 "Faux_Pseudo" wrote in message news:slrnb173q5.7k.Faux_Pseudo@fugozi.cx1209071-a... > _.--- JJ spoke in alt.ascii-art --------._ > >> (( ${Faux_Pseudo}${BAD} != 0 )) > > > > Ehm... I'm not familiar with that syntax. What language, if any? > > Nothing but a little prettied up Bash shell. > > Instead of using a > > if [[ $X == $Y ]] ; then > echo equal > else > echo not equal > fi > > we can use > > (( $X == $Y )) && echo equal || not equal > > Much less cluttered. > > And the ${X} is the same thing as $X but any time you do a $X$Y thing > it is always better to do it as ${X}${Y} to help they eye figure out > where one ends another begins. > I've never heard of that before, but everyone I know uses Windows... I'm assuming that's not... :D Thanks for clearing that up, though! One more step on my way to haxordom! -- parodyguy72@hotSPAMmail.com (Remove SPAM from the address when replying.) This concludes our drill. In the event of a real emergency I would have typed IN ALL CAPS!!!