Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: mkdir builtin and $'\0'



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