Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: treatment of empty strings - why is this not a bug?
- X-seq: zsh-workers 26328
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- To: gak@xxxxxxxxxxxxxx
- Subject: Re: treatment of empty strings - why is this not a bug?
- Date: Sat, 17 Jan 2009 00:26:31 +0100
- Cc: zsh-workers@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6dD0id9oGkDLBUQjSI0gujyxcbdCAjFAHCystIsJwBo=; b=s9sHLXFmsW67ucKfklUw1LVJtwbOi3Qn34q4alO+RJ+mUH6SFCeYamTape8WYbfP0O hBydB/85ENqLXVB1EPmZF464ahZYkoOiCpr0JN8lj5WkYUfJJJLfCBtuHqB4INVQotEs efmwrDiKhC4t4l2RvdYpVp64ODnMz0brhwlQU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Ls3Tj3r4JYhELor/9p58mb3F/M11y0Gey3HAyYxvSjhF138iE5BxBMw2A3PtOT5y0N 44CRh38/FYDTZN5mdDx3d43gQTjzqdrmbUFLN6ObGXQ6zunbqyt5RwBf4vO6svUN1YXG gsiOOb7SlVagjjedz5mNy/AmjMAgKcddeLsDc=
- In-reply-to: <m363kfvy3u.fsf@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <18796.17298.94642.461735@xxxxxxxxxxxxxxxxxx> <090115201912.ZM20275@xxxxxxxxxxxxxxxxxxxxxx> <m38wpbw3v2.fsf@xxxxxxxxxxxxxx> <200901161755.n0GHt4aT025943@xxxxxxxxxxxxxx> <m363kfvy3u.fsf@xxxxxxxxxxxxxx>
On Fri, Jan 16, 2009 at 20:40, Greg Klanderman <gak@xxxxxxxxxxxxxx> wrote:
> I cannot believe it's widely used, except in legacy scripts that
> predate array parameters. Why would you put an empty string into a
> variable unless you wanted it there? I don't see any reason you'd
> ever want the current behavior in a new script, and any existing
> script should just emulate to the broken behavior.
Existing scripts tend to run in odd places, often without anyone
around who can still maintain them. Such a change could have very
bad effects, possibly without anyone noticing (in time).
That is a real problem and happens far too often, no need to make
it worse.
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author