Quote:
Originally Posted by ghostdog74
Code:
var=$(iax2 show netstat)
set -- $var
echo $(($2 + $9))
|
Wow! It's really works... thank you very much ghostdog74!
I have one doubt, what exactly does
?
Does it assign the output to the variable? And if it does, then the meaning of:
Is: Give me the value in second file column 9?
Thanks again! I googled for "set --" but did not found the answer...