Re: [dev] [sbase] printf(1)

From: sin <sin_AT_2f30.org>
Date: Thu, 19 Dec 2013 22:49:03 +0000

On Thu, Dec 19, 2013 at 10:18:34PM +0000, Rob wrote:
> printf '%f\n' 2
>
> If you "throw it into the standard library's printf", even forgetting
> about how we do that, you'd still interpret 2 as an int, when printf
> expects a float. And that's only the beginning, what about %n, or not
> passing enough arguments?

Exactly.

BTW, I just noticed this thread as the messages had been bouncing for some time
(was migrating my mail setup).

bye,
sin
Received on Thu Dec 19 2013 - 23:49:03 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 20 2013 - 00:00:14 CET