[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] gen_build_files.sh: Remove bashisms
From:       Rob Landley <rob () landley ! net>
Date:       2010-05-21 2:01:49
Message-ID: 201005202101.50460.rob () landley ! net
[Download RAW message or body]

On Monday 17 May 2010 12:07:27 Cristian Ionescu-Idbohrn wrote:
> Oh boy...  But then you'll also have to imitate those "many intentional
> obscure bashisms" in hush, will you not?

Yes.

This was always the plan.  Adding support for things people actually _use_ to 
busybox is what busybox does.

The busybox shell situation has sucked for years because there were several 
divergent implementations and our most feature-rich one A) didn't scale down, 
B) was a huge pile of messy code tacked on from an external source and never 
fully understood by this development community.

Denys has spent several years cleaning up the result.  He did so by removing 
some of the less-used shells and picking one (hush) that was a reasonable base 
to extend.  Hush should someday replace ash in busybox as our full-featured 
shell, and it should also be able to replace bash.

> > (Keep in mind dash doesn't even support thing/{one,two} syntax.
>
> I know.  But that would easily be made portable with a for loop, wouldn't
> it?

You could rewrite it in cobol if you wanted to.  That's irrelevant.

> > it's not hard to make the scripts smaller and simpler by filling them
> > with things dash can't cope with.)
>
> True.
>
> > I'm warning you to drop this topic.
>
> Threat.  It was not my intention to get you irritated to that degree, but
> now that I managed, I think I'll go on for a while longer :)

Feel free, but Denys asked me to keep the flames down to a dull roar, so I'm 
going to stop reading here and add you to my spam filter.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic