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

Giorgos Keramidas keramida at
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 
  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
  Reviewed by:    das
  Revision  Changes    Path
  1.29      +1 -1      src/usr.bin/printf/printf.c

More information about the cvs-src mailing list