autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why if test "xSTRING1= "xSTRING2" (the 'x') ?


From: Jules Colding
Subject: Why if test "xSTRING1= "xSTRING2" (the 'x') ?
Date: Mon, 26 Mar 2007 15:10:59 +0200

Hi,

I'm wondering why I keep seeing the 

if test "xSTRING1" = "xSTRING2"; then 
else
fi

construction when you want to compare the strings STRING1 and STRING2.
The thing that I'm wondering about is the "x" in front of the two
strings.

Probably something entirely fundamental that I just forgot...

Thanks,
  jules






reply via email to

[Prev in Thread] Current Thread [Next in Thread]