bash vs. ash, [ ! a = b ] vs. [ a != b ]

Jim Freeman jfree at sovereign.org
Thu Jul 5 16:55:27 UTC 2007


On Thu, Jul 05, 2007 at 10:38:19AM -0600, 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

More info:

Regressing against i386 BusyBox v1.1.3 (Debian 1:1.1.3-4) :

	$ busybox [ ! a = b ]
	$ echo $?
	0

...jfree



More information about the busybox mailing list