Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build break - commaizenumber
On Mar 15, 10:01am, erh%nimenees.com@localhost (Eric Haszlakiewicz) wrote:
-- Subject: Re: Build break - commaizenumber
| On Tue, Mar 15, 2011 at 09:54:58AM -0500, Eric Haszlakiewicz wrote:
| > On Tue, Mar 15, 2011 at 06:23:38AM -0700, Paul Goyette wrote:
| > > On Tue, 15 Mar 2011, Christos Zoulas wrote:
| > >
| > > >What's wrong with %'<format>?
| > >
| > > Nothing! :)
| > >
| > > IMHo, the commaize_number changes including those in ls(1) should be
| > > backed out.
| >
| > hmm... the printf man page I was looking at didn't have a mention of that.
|
| and it doesn't seem to work with a recently built system (as of yesterday):
|
| # printf "%'d\n" 12345
| printf: %': invalid directive
|
| What am I missing?
printf(1) is not printf(3). And to make it work in the code you need
to call setlocale(LC_ALL, ""); before calling printf.
christos
Home |
Main Index |
Thread Index |
Old Index