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.
