Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh portable script
- X-seq: zsh-workers 28076
- From: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Subject: Re: zsh portable script
- Date: Wed, 14 Jul 2010 11:33:02 +0100
- In-reply-to: <alpine.LNX.2.01.1007131651370.4808@xxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <1007130241570.5546@smasher> <20100712170648.706cb975@xxxxxxx> <20100713210106.6411aba8@pws-pc> <alpine.LNX.2.01.1007131651370.4808@xxxxxxxxxxx>
On Tue, 13 Jul 2010 17:08:42 -0400 (EDT)
"Benjamin R. Haskell" <zsh@xxxxxxxxxx> wrote:
> > % cat execme
> > #!zsh -f
> > print I am running under $ZSH_VERSION
> > % PATH=/bin ./execme
> > I am running under 4.3.10
> > % PATH=/usr/local/bin ./execme
> > I am running under 4.3.10-dev-1
>
> I don't quite understand... what does this improve? Doesn't the
> script already have to be running under Zsh for this to have any
> effect?
Yes, the script has to be started from an instance of zsh, that's exactly
why this has a limited effect.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author