在我给自己增加一个变数的情况下,我这样做了。
while read line
do
let variable=$variable+$someOtherVariable
done
return $variable
当我重复应计价时,我没有产出......
Is this the correct way to add some value back to the variable itself (i.e. i = i+j) Also, in the context of bash scripting what is the scope in this case..