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

Re: bash scripting problem



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 gmail com


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