cvs commit: src/usr.bin/printf printf.c

Giorgos Keramidas keramida at FreeBSD.org
Fri Sep 24 11:20:44 PDT 2004


keramida    2004-09-24 18:20:43 UTC

  FreeBSD src repository (doc committer)

  Modified files:
    usr.bin/printf       printf.c 
  Log:
  Allow %' to be used as a format flag by printf(1).  This makes it
  possible to print the thousands separator in the locale setups that
  have one, by something like this:
  
      $ env -i LC_NUMERIC=en_US.ISO8859-1 ./printf "%'0.2f\n" 12345
      12,345.00
  
  Reviewed by:    das
  
  Revision  Changes    Path
  1.29      +1 -1      src/usr.bin/printf/printf.c


More information about the cvs-src mailing list