bash scripting problem

Daniel Dalton daniel.dalton47 at gmail.com
Sun Dec 2 06:32:17 UTC 2007


On 2/12/2007 5:11 PM, Daniel Dalton wrote:
> z=$x+$y

Ah yes I worked it out...
It should be:
z =`expr $y + $x`

BTW what does the expr mean? And why do we need to use "`"?

-- 
Daniel Dalton

http://members.iinet.net.au/~ddalton/
daniel.dalton47 at gmail.com




More information about the Blinux-list mailing list