Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: test patches
- X-seq: zsh-workers 3105
- From: <hzoli@xxxxxxxxxxxx> (Zoltan T. Hidvegi)
- To: zefram@xxxxxxxxxxxxxxxxx (Zefram)
- Subject: Re: test patches
- Date: Fri, 9 May 1997 14:09:17 -0400 (EDT)
- Cc: zsh-workers@xxxxxxxxxxxxxxx (Zsh workers list)
- In-reply-to: <9760.199705091400@xxxxxxxxxxxxxxxxxxxxxxx> from Zefram at "May 9, 97 03:00:46 pm"
Zefram wrote:
> Zoltan Hidvegi wrote:
> > Unfortunately
> >some Linux programs assume that /bin/sh has brace expansion so I'm thinking
> >about making ignorebraces off by default even in sh mode.
>
> Please don't. Those Linux programs are assuming that sh is really bash,
> and are therefore broken. In my experience, considering how simple they
> are to fix, authors are usually willing to fix them.
You are right, but if I want to tell people that here is zsh, just link it
to sh and use it, they will complain that it brakes this and that. Fixing
a program is easy, but finding all programs depending on this feature is
difficult, and even if you do find everything, old installations will still
have some old broken binaries. For the same reason has zsh so much obscure
bug compatibility code. And some Linux developers simply tell you, that if
/bin/sh is not bash, then your Linux system is broken anyway.
Perhaps there are'n too many programs using brace expansion, but I have
even seen a program using this in a system() libc call )-:.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author