On Fri, 14 May 2010, Rob Landley wrote: > On Thursday 13 May 2010 18:05:53 Peter Tyser wrote: > > Using 'read' without a variable is not supported in many shells. Lines > > such as 'while read; do' in gen_build_files.sh would result in build > > failures when using sh or dash as an interpreter: > > Simple fix: say #!/bin/bash at the top of all shell scripts, always.
Not surprisingly, I disagree :) dash is 5+ times faster than bash. > Speaking of which, when hush gets close to being a reasonable bash > replacement (about when we're ready to delete ash), we should teach it > to be callable via a "bash" alias, since so many scripts do this becase > the Defective Annoying Shell is such a horrid Ubuntu-ism. Not only. Soon to become an as horrid debian-ism and debian derivate-ism. Cheers, -- Cristian _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
