On 12-08-09 02:15 PM, vivek poddar wrote:
HI!https://gist.github.com/3306700
This works as expected but the old code does not.
MYTEMP_VAR='' # Evaluates to null somehow.VAR=$MYTEMP_VAR : {VAR:="Hi"}
$ MYTEMP_VAR='' # Evaluates to null somehow.
$ VAR=$MYTEMP_VAR
$ : {VAR:="Hi"}
$ echo $VAR
$ echo $MYTEMP_VAR
$
Anyways, we get the idea now :)
Sharad
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
