zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: pws@ifh.de (Peter Stephenson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: bug with empty path
Date: Tue, 3 Dec 1996 17:57:58 +0100 (MET)	[thread overview]
Message-ID: <199612031657.RAA25108@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199611251433.PAA22472@hydra.ifh.de> from Peter Stephenson at "Nov 25, 96 03:33:28 pm"

Peter Stephenson wrote:
> The lines:
>   path=()
> and
>   PATH=
> have different effects: the first produces an empty path array, the
> second a path with one blank element.  This turns up in the following:

I do not think it is a bug.  Of course other shells couldn't set an empty
path but zsh is better than that.  The path is really an array and the PATH
scalar is just a representation which has this inefficiency.

One may want to use a really empty path sometimes which is best achieved
with path=().

Zoltan


  reply	other threads:[~1996-12-03 17:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-25 14:33 Peter Stephenson
1996-12-03 16:57 ` Zoltan Hidvegi [this message]
1996-12-04  9:00   ` Peter Stephenson
1996-12-04 20:59     ` Zoltan Hidvegi

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=199612031657.RAA25108@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /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).