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

Re: In POSIX mode, ${#var} measures length in bytes, not characters



Peter Stephenson schreef op 08-06-15 om 10:44:
> With MULTIBYTE always on when available, the "EMULATE" flag becomes
> redundant.

I should have guessed there's a shell option for that. Still good to
have it on by default.

Between that and POSIX_ARGZERO, I've found (so far) that the following
puts zsh 5.0.8 in the most fully compliant POSIX mode:

emulate sh -o POSIX_ARGZERO -o MULTIBYTE

Thanks,

- M.



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