From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with ESMTP id WAA01107 for ; Fri, 19 Jan 1996 22:55:58 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id GAA17265; Fri, 19 Jan 1996 06:33:26 -0500 (EST) Resent-Date: Fri, 19 Jan 1996 06:33:07 -0500 (EST) From: Zoltan Hidvegi Message-Id: <199601191132.MAA10626@bolyai.cs.elte.hu> Subject: Re: Zsh as /bin/sh on Linux? To: jepler@herbie.unl.edu (Jeff "Obik" Epler) Date: Fri, 19 Jan 1996 12:32:04 +0100 (MET) Cc: zsh-users@math.gatech.edu In-Reply-To: <9601182122.AA23445@herbie.unl.edu> from "Jeff "Obik" Epler" at Jan 18, 96 03:22:36 pm Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"Q1lU71.0.QD4.o5u_m"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/166 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > A bigger problem (IMO) than worrying about odd sh compatibilities when > using (trying to use) zsh as /bin/sh under Linux, is all the > dependancies on Bash featurisms, since bash is the /bin/sh on most > Linux systems. Zsh know the extra features that sh scripts under Linux tends to use. I thing these are mostly the ${...%...} type substitutions. I think that this substitution syntax is part of the POSIX shell specification. If one wants to use a lightweight replacement for bash she may also try pdksh which tries to be posix conformant and know almost everything that bash knows and it is even faster than that. Cheers, Zoltan