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

Re: [RFC PATCH] Allow grouping of thousands in format string



2015/04/04 20:11, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:

> Anyone have an OpenBSD system they can verify with? Even if it
> doesn't support the flag, it'd be good to know if it is just ignored or
> causes printf to fail. The flag is locale dependent anyway so being
> ignored is quite reasonable for zsh's printf.

On OpenBSD 5.6, the ' flag (grouping) is silently ignored.
It has no effect but causes no error.

BTW, if we are going to use the patch by Øystein Walle, the array flags[]
defined at

builtin.c:3736:    int flags[5], *len;

must be flags[6]. (or allocate it by using sizeof(int)*strlen(flagch))



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