Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh as /bin/sh on Linux?
- X-seq: zsh-users 166
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: jepler@xxxxxxxxxxxxxx (Jeff "Obik" Epler)
- Subject: Re: Zsh as /bin/sh on Linux?
- Date: Fri, 19 Jan 1996 12:32:04 +0100 (MET)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <9601182122.AA23445@xxxxxxxxxxxxxx> 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
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author