help-bash
[Top][All Lists]
Advanced

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

[Help-bash] something about variable.


From: lina
Subject: [Help-bash] something about variable.
Date: Mon, 9 Jul 2012 12:03:06 +0800

Hi,

Take one example,

for i in {B..U}
do
echo -n "=PEARSON(B2:B43,$i 2:$i 43) "
done

$i2 not work, $i 2 added extra space,

are there someway to handle the $i2 situation?

Thanks with best regards,

P.S Output
=PEARSON(B2:B43,B 2:B 43) =PEARSON(B2:B43,C 2:C 43)

expected one
=PEARSON(B2:B43,B2:B43) =PEARSON(B2:B43,C2:C43)



reply via email to

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