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 Chris F.A. Johnson
On Thu, 12 May 2005, Tony Jo wrote: Oh sorry. Didn't look at it closely enough. Thanks, that did solve most of the issues, What did? Please quote enough of the previous post that we can tell what you are referring to. but now I'm just wondering if the following is valid? Does it work? temp

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 Chris F.A. Johnson
On Thu, 12 May 2005, Tony Jo wrote: "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 receiv

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

Re: bash script problems

2005-05-11 Thread Chris F.A. Johnson
On Thu, 12 May 2005, Tony Jo wrote: 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

Re: bash script problems

2005-05-11 Thread William Park
On Thu, May 12, 2005 at 02:32:42AM +1000, Tony Jo wrote: > 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

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