Re: bash scripting problem

  • From: Daniel Dalton <daniel.dalton47@xxxxxxxxx>
  • To: Linux for blind general discussion <blinux-list@xxxxxxxxxx>, programmingblind@xxxxxxxxxxxxx
  • Date: Sun, 02 Dec 2007 17:32:17 +1100

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@xxxxxxxxx

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: