Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: mkdir builtin and $'\0'
- X-seq: zsh-workers 36221
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: mkdir builtin and $'\0'
- Date: Tue, 18 Aug 2015 12:11:34 +0100
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=Et41rclHzWNK2cWfanWYvcO9oRHD0V3pmaqEhK9CkNU=; b=N4wJ4jhknABSvSPprxPu5Ab7Erg6VyPcELeuU36OSQ7fPKT4PzvfNxCcB18JtkkDlh M97PNeoc2pjutZLKCmxnO31mwyq94IrN/nYNEtv7pVHG0kYMPKXmLz/p5F0NX0uK2GR1 Axn6jaOsPUurynZ6Ej3sLyUKAlDaRITmg29qVfiSAigGQfY3drwwF/nYCDjxzL0ocqU7 owKoGi5U5bcK4ox4XYE+bF6ESTFRlnqAUCLx6yp99fDShFqQ4frU2sURd0ZW5NLRpbgn w12hpZrxlMGwlpM6Fg5aEXKMsRmxEGhPLSX3x2u+UXpADRoi6+zcHkMAJ5OV+dyUHZou ox1A==
- In-reply-to: <20150818104911.034b6705@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150818091904.GA5389@chaz.gmail.com> <20150818104911.034b6705@pwslap01u.europe.root.pri>
2015-08-18 10:49:11 +0100, Peter Stephenson:
[...]
> Looks like a long-standing mistake --- the unmetafied form of the
> variable wasn't propagated everywhere. A quick scan elsewhere suggests
> this is just a one-off (I haven't confirmed in detail).
> diff --git a/Src/Modules/files.c b/Src/Modules/files.c
[...]
Thanks, but see also the rest of my email about cd/chdir and the
note about inconsistent error message.
More generally, it may be a good idea to review all the cases
where $'\0' would not be acceptable.
And also those where $'\0' would be acceptable. Found another
one:
$ strftime $'%Y\0%m\0%d' 0 | sed -n l
1970\203 01\203 01$
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author