|
From: | Ionutz Borcoman |
Subject: | Re: what's the effect of test in ac_define_dir.m4 |
Date: | Mon, 24 Jun 2002 14:49:34 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020214 |
Evrika :-)Yes, you're right. But I've been for too long a C programmer (and never a shell one). I've thought '&&' was for test command. Something like in:
if ( xxx == TRUE && yyy == TRUE ) {}; So the C++ equivalent of this bash line: test xxx="xxx" && xxx="zzz" is if( xxx == "xxx" ) { xxx = "zzz"; } Right ? TIA, Ionutz Andreas Schwab wrote:
??? Of course, it is used, in a conditional.
[Prev in Thread] | Current Thread | [Next in Thread] |