From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3067 invoked from network); 4 Jul 2001 14:57:46 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Jul 2001 14:57:46 -0000 Received: (qmail 13255 invoked by alias); 4 Jul 2001 14:56:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15249 Received: (qmail 13238 invoked from network); 4 Jul 2001 14:56:44 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: =?koi8-r?Q?Ra=DFl_N=DF=D3ez_de_Arenas_Coronado?= , Subject: RE: About ZSH vs. BASH Date: Wed, 4 Jul 2001 18:57:32 +0400 Message-ID: <002c01c10499$a743f280$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 In-Reply-To: > > So, the choice is quite simple: we will take zsh as our system > shell and sometime in the future, if necessary, will start our shell > project (if possible...). The problem here is that we use to compile > the programs we run, because our directory layout is special and > because our Linux is hand-made, not a distribution. So, we need a > shell capable of interpret the './configure' scripts and other > scripts which came with the sources. > > At this point we fully know that BASH interprets them, and we > want to know if we can use zsh not only as an user shell, but if we > can use it as our /bin/sh, fully replacing BASH; the problem is > precisely this: we cannot use both shells, although we could consider > using zsh & ash. This is not sure at all, so we would sleep better if > zsh could be used as a full replacement. > This should be possible. zsh is not fully bash-compatible, but it should be to the large extent sh-compatible (where sh means POSIX sh) if called as sh. I just run zsh's own configure with zsh in shell mode. But we do not have any specific compatibility tests. Keep in mind that many Linux scripts silently assume bash and are *not* portable. It is not zsh fault :-) -andrej