Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is this a bug? Why not?
- X-seq: zsh-workers 27855
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Is this a bug? Why not?
- Date: Thu, 01 Apr 2010 15:51:18 -0700
- In-reply-to: <20100401215752.GA34619@xxxxxxxxxxxxxxxxxxxx>
- 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
- References: <100330224612.ZM1818@xxxxxxxxxxxxxxxxxxxxxx> <20100331060602.GA91691@xxxxxxxxxxxxxxxxxxxx> <100331081153.ZM2688@xxxxxxxxxxxxxxxxxxxxxx> <20100401082624.GA56998@xxxxxxxxxxxxxxxxxxxx> <100401073618.ZM10593@xxxxxxxxxxxxxxxxxxxxxx> <20100401215752.GA34619@xxxxxxxxxxxxxxxxxxxx>
On Apr 1, 2:57pm, Phil Pennock wrote:
} Subject: Re: Is this a bug? Why not?
}
} > E.g., why doesn't the following cause $foo to be quoted?
} >
} > schaefer[516] ARGV0=sh Src/zsh
} > $ foo="???"
} > $ print ${foo+"$foo"}
} > Doc Etc Src
} > $
} >
} > It works in bash.
}
} Defining "works" as seeing ??? emitted: it works in zsh with glob_subst
} disabled.
Well, note the "ARGV0=sh", so I'm specifically talking about glob_subst.
Just ${foo} "works" by the no_glob_subst definition.
} Is this use-case important enough to warrant yet another option?
Normally I'd be a stickler for not changing existing behavior, but in
this case it looks so obviously like a bug in the way glob_subst is
implemented that I'm not sure a new option is needed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author