> -----Original Message-----
> From: SpCD
> Sent: Sunday, June 08, 2003 8:21 AM
> Subject: Re: [leaf-user] Why this script doesn't work?
> 
> 
> > This looks like the standard bash/ash portability issue.
> >
> > On line 71, either remove the parens or negate their functional
> > interpretation by the ash shell by escaping them with 
> > backslash. i.e. \(
> 
> You're good :-)
> 
> I've switched them off (negate their functional 
> interpretation  ;-)) and now
> i get:
> Yorg: -root-
> # ./cbq.sh
> ./cbq.sh: 181: Syntax error: Unterminated quoted string
> 
> We're getting closer to the target :-)

Looks like you have accidently deleted either a backslash (like a line
continuation), quote, double quote or something along those lines prior to
line 181. These errors are tuff to find.

Try adding -x to the shell interpreter on line one of your script. i.e.

#!/bin/bash -x

Then run your script again and watch the output or redirect to another file.

Steve Cowles


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to