On Sat, 15 Dec 2007 23:46:00 +0530 vicky wrote:

> Isn't the syntax for this script written for bash?

What version of dash is Ubuntu using?
Current dash is 0.5.4 AFAIK:
  http://gondor.apana.org.au/~herbert/dash/files/
or even newer from the git tree at:
  http://git.kernel.org/?p=utils/dash/dash.git;a=summary

Herbert (dash maintainer) has asked that Ubuntu update their
dash to something that is not so old.  Current dash supports
most (or all) of these POSIX shell expressions.


> Mike Frysinger wrote:
> > On Sunday 09 December 2007, Balbir Singh wrote:
> >   
> >> On Dec 9, 2007 2:57 PM, riazrahaman <[EMAIL PROTECTED]> wrote:
> >>     
> >>> ../../generate.sh: 60: arith: syntax error: "cnt=cnt-1"
> >>>       
> >> By default /bin/sh is linked to /bin/dash on Ubuntu, you could change
> >> the shell script to use /bin/bash if there is a dependency on it. If
> >> there is a genuine problem with the arithmetic as the log error shows,
> >> please fix it. Fixes are always welcome!
> >>     
> >
> > there is no bug in the script.  Ubuntu is using a broken dash.  they need 
> > to 
> > use a fixed version of dash.  or stop using dash.
> > -mike


---
~Randy

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to