https://bugzilla.samba.org/show_bug.cgi?id=5529





------- Comment #2 from [EMAIL PROTECTED]  2008-06-10 06:39 CST -------
Fwiw, printf() _does_ insert commas if you ask for it - as a GNU extension.  So
suitable for GNU/Linux and some other environments.

Write something like %'lld - the apostrophe modifier character asks for
'thousands grouping character'.

It is locale-dependent.  Some locales use '.' to separate thousands, some have
a different number of digits per group, and some don't do grouping.

To do it somewhat portably, use localeconv(), nl_langinfo() and/or strfmon(). 
The GNU libc manual explains (among other places).


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to