zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <Peter.Stephenson@csr.com>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: zsh portable script
Date: Wed, 14 Jul 2010 11:33:02 +0100	[thread overview]
Message-ID: <20100714113302.48286c05@csr.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1007131651370.4808@hp.internal>

On Tue, 13 Jul 2010 17:08:42 -0400 (EDT)
"Benjamin R. Haskell" <zsh@benizi.com> 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@csr.com>            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


      reply	other threads:[~2010-07-14 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1007130241570.5546@smasher>
     [not found] ` <20100712170648.706cb975@csr.com>
2010-07-13 20:01   ` Peter Stephenson
2010-07-13 21:08     ` Benjamin R. Haskell
2010-07-14 10:33       ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100714113302.48286c05@csr.com \
    --to=peter.stephenson@csr.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).