[PATCH] Ash support for replace and subsitution

James Simmons jsimmons at infradead.org
Mon Mar 24 19:16:56 UTC 2008


> On Mon, 2008-03-24 at 16:51 +0000, James Simmons wrote:
> > I have no problem with a NON_POSIX_EXTENSIONS. Is this true with the
> > other patches I posted?
> 
> Well, maybe we should wait for a ruling by Denys or someone.  I'd really
> love to have a POSIX-standard shell in busybox, and I had this idea that
> that was a design goal of ash.

What is the goal for ash? That I don't know. 

> But I could be wrong.  For example, the extended test notation [[ ... ]]
> is not POSIX, but (according to your patch; I haven't checked it myself)
> it's already supported.

It is if you enable ENABLE_ASH_BUILTIN_TEST. Ash hs [[ and [ equivalent.

> Also, it's not clear to me (again I haven't checked the code) what area
> your second patch touches; the subject said "more test conditions" but
> I've never seen a test(1) utility that supports <<=, etc. which seemed
> to have already been supported by this applet.

These patches where written quit a while ago so I can't remember exactly 
what test I ran where it failed. They do fix the problems I had tho.

Right now I'm putting out fires at work so give me a few days to get 
together what exact issues I solved.




More information about the busybox mailing list