svn commit: [25865] trunk/busybox/shell/hush_test

Denys Vlasenko vda.linux at googlemail.com
Sat Mar 28 21:56:07 UTC 2009


On Saturday 28 March 2009 21:16, Mike Frysinger wrote:
> On Saturday 28 March 2009 15:31:34 vda at busybox.net wrote:
> > Author: vda
> > Date: 2009-03-28 19:31:34 +0000 (Sat, 28 Mar 2009)
> > New Revision: 25865
> >
> > Log:
> > remove ((expr)) bash'ism
> 
> umm, that isnt a bashism.  that's POSIX right there.  what is a bashism is not 
> making it a command, so it should read:
> : ((tret+=1))

I don't see it in SUS. I think you mean that $((...)) is in
standards, not ((...))

bash:

# : ((tret+=1))
bash: syntax error near unexpected token `('

# : $((tret+=1))
(worked)

--
vda


More information about the busybox mailing list