Richard Dawe <[EMAIL PROTECTED]>:
 | 
 | I suspect the delimiter would be determined by the locale. Some countries
 | use a dot, some a comma and some an apostrophe, I believe.

It looks like strfmon(7) was made just for this ; according to locale(7) :

      LC_MONETARY
              changes  the  information  returned by localeconv()
              which  describes  the  way  numbers   are   usually
              printed,  with details such as decimal point versus
              decimal comma.  This information is internally used
              by the function strfmon().

I'm guessing that with (LC_ALL set to the proper value) strfmon will format 
numbers nicely.

Regards,

-Thomas

-- 
== Thomas Morin   --  GSM: 06 83 20 64 87   --   Tel: 02 98 05 98 54
== [EMAIL PROTECTED]    --    [EMAIL PROTECTED]
== PGP Id:8CEA233D   Key FP:503BF6CFD3AE8719377B832A02FB94E08CEA233D
--


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to