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

Re: Bug when $USERNAME is cyryllic



> On 01/10/2023 21:35 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Aside, my recollection was wrong:  It's tokenize() that appears
> harmless to apply more than once, not metafy().

In case this is useful to jog memories in future...

I think the difference is that metafy() is operating on something
completely raw, so we can't rely on any octet having any special
internal meaning.  tokenize(), on the other hand, always operates
on an already metafied string, hence we at least have the assurance that
anything stuck behind a Meta marker is special and can be left alone.

pws




Messages sorted by: Reverse Date, Date, Thread, Author