"bash" alias is added

Denys Vlasenko vda.linux at googlemail.com
Thu May 20 00:12:07 UTC 2010


On Wednesday 19 May 2010 06:12, Rob Landley wrote:
> Which is why you say #!/bin/bash and then teach busybox's shells to understand 
> the name "bash".  The name is a promise of an API beyond Posix.
> 
> > I'm not understanding the argument
> > for using bash-specific functionality, but not using bash as the shell.
> > Yes dash has "gratuitous bash incompatibilities", but you are
> > *explicitly* saying to use /bin/sh, which dash *is* compatible with.
> 
> No, he said #!/bin/bash and somebody complained that busybox couldn't work 
> with that.  I agree that's a problem, but the _bug_ is that busybox needs to 
> be extended to route the name "bash" to hush and then hush taught to do more 
> stuff.

See attached. Now it's possible to run ash or hush using "bash" name.
Of course, this is trivial...
-- 
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.patch
Type: text/x-diff
Size: 3063 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100520/a4d27021/attachment.bin>


More information about the busybox mailing list