[Orca-users] orca 0.27 make error on Solaris 9
David Devault
DDevault at Elance.com
Mon Aug 30 17:14:40 PDT 2004
Blair Zajac wrote:
>No, I'm not saying that. I just put the quotes in my previous email to
>show that $a was set to two space characters.
Blair,
Thats good cause I noticed some weird behavior with testing "" and the escaped "\"\""
Failed test:
test for "" which tested against an empty value - right?
Successful test:
test for "\"\"" which tested "" literaly
#######################################################################
sh-2.05# a="\"\""
sh-2.05# echo $a
""
sh-2.05# if test "`echo $a`" != "";then echo "not eq to \"\" "; fi
not eq to ""
sh-2.05# if test "`echo $a`" != "\"\"";then echo "not eq to \"\" "; fi
sh-2.05#
#######################################################################
More information about the Orca-users
mailing list