Bash shell support?

Riaz Ur Rahaman rahaman.riaz at gmail.com
Thu Aug 24 18:10:06 UTC 2006


thanks everybody for helping me out.

At the moment I am restricted to using the ash shell. I did the changes
as advised of change (( .. )) to [ .. ] and atleast that error went away
but this another syntax error comes.

rwtest: 319: Syntax error: Bad substitution

I am suspecting that since typeset applet(I hope thatz what it is
called) is not supported in the ash shell in 1.1.2 version that I am
using the variable n is being used as a string which is the default type
but n is to be set to be of type integer by typeset. If typeset wasn't
supported then why didn't my script give an error at that location?


Riaz



On Wed, 2006-08-23 at 16:59 -0400, Rob Landley wrote:
> On Wednesday 23 August 2006 6:36 am, Riaz Rahaman wrote:
> > I am trying to run the ltp test cases on the busybox and there were two
> > scripts that were giving errors. One was the fs_inod and the other rwtest.
> 
> I'm guessing you're using "ash"?  (Alas, we have four built-in shells at the 
> moment, and they share very little code...)
> 
> > I am not looking at the option of patching the busybox to support these
> > utilities as of now, but more of changing this script to run on busybox.
> 
> You don't have to use BusyBox's shells.  If you need bash, you can build and 
> install bash on the system.
> 
> Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rwtest
Type: application/x-shellscript
Size: 7770 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060824/d0f40ea3/attachment-0002.bin 


More information about the busybox mailing list