bash vs. ash, [ ! a = b ] vs. [ a != b ]
Jim Freeman
jfree at sovereign.org
Wed Jul 11 21:44:14 PDT 2007
On Thu, Jul 12, 2007 at 01:08:01AM +0200, Denis Vlasenko wrote:
> On Thursday 05 July 2007 16:38, Jim Freeman wrote:
> > powerpc, busybox 1.6.0
> >
> > There is a discrepency (== error?) in ash's handling of the following:
> >
> > ash
> > ===
> > # [ ! a = b ]
> > # echo $?
> > 1
> >
> > # [ a != b ]
> > # echo $?
> > 0
>
> Does it work in 1.6.1? For me it works (on i386).
> --
> vda
And 1.6.1 works on powerpc - thanks!
More information about the busybox
mailing list