[PATCH] gen_build_files.sh: Remove bashisms
Rob Landley
rob at landley.net
Mon May 17 00:23:39 UTC 2010
On Saturday 15 May 2010 17:27:40 Cristian Ionescu-Idbohrn wrote:
> On Sat, 15 May 2010, Denys Vlasenko wrote:
> > On Friday 14 May 2010 01:05, Peter Tyser wrote:
> > > -find -type d | while read; do
> > > - d="$REPLY"
> > > -
> > > +find -type d | while read d; do
> >
> > I applied this part, and changed #!/bin/sh to bash.
> >
> > Thanks!
>
> Thank you.
>
> I had a look through and found:
>
> ,----[ individual ]
>
> | possible bashism in individual line 15 (brace expansion):
He changed the start to #!/bin/bash and you're still looking for bashisms.
If you keep on with this, I'm going to go through and try to optimize every
shells cript in the project with as many intentional obscure bashisms as
possible. (Keep in mind dash doesn't even support thing/{one,two} syntax.
it's not hard to make the scripts smaller and simpler by filling them with
things dash can't cope with.)
I'm warning you to drop this topic. I don't have a stubborn streak, I have a
vindictive streak. It has a very high activation threshold, and most things I
don't care enough to do anyhing about. But once the straw breaks the camel's
back you go in the Bruce Fucking Perens category and I remain 100% opposed to
your very existence years later.
Rob
--
Latency is more important than throughput. It's that simple. - Linus Torvalds
More information about the busybox
mailing list