Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug with empty path
- X-seq: zsh-workers 2530
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: pws@xxxxxx (Peter Stephenson)
- Subject: Re: bug with empty path
- Date: Tue, 3 Dec 1996 17:57:58 +0100 (MET)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199611251433.PAA22472@xxxxxxxxxxxx> from Peter Stephenson at "Nov 25, 96 03:33:28 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author