Re: bash script problems

2005-05-11 Thread Tony Jo
Got it working. ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: bash script problems

2005-05-11 Thread Tony Jo
Oh sorry. Didn't look at it closely enough. Thanks, that did solve most of the issues, but now I'm just wondering if the following is valid? temp=`expr $val1 + $val2` $temp > file Everything besides this seems to be working fine now ___ Bug-bash ma

Re: bash script problems

2005-05-11 Thread Tony Jo
"William Park" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Note the difference between `...` and '...' Sorry if they came out weird on the newsgroups, but they were meant to be single quotes ___ Bug-bash mailing list Bug-bash@gnu.o

Re: bash script problems

2005-05-11 Thread Tony Jo
"Chris F.A. Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When quoting parts of a script or error messages, please be > accurate (cut and paste rather than retyping). You used: > > temp=`expr $val1 + $val2` > > or you wouldn't have received that error. The line

bash script problems

2005-05-11 Thread Tony Jo
Hello, I am having issues with a bash script and I was wondering if anyone could be of assistance? Its just that our lecturer assumed it would be easy to pick up and do an assignment on, even though we haven't learnt it and its not a pre-requisite. But anyway, I noticed when I use the cut command