Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 18:20:43 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/printf printf.c
Message-ID:  <200409241820.i8OIKhcC046393@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409241820.i8OIKhcC046393>