On Thu, 2007 May 31 21:05:04 -0600, Eric Blake wrote:
>
> POSIX standardized existing practice. printf(1) was invented years ago,
> in the Ninth Edition system (before I was even using Unix), and parsed the
> argument for %b, %c, and %s as a string, and for all other specifiers as
> integers (the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Daniel Richard G. on 5/31/2007 7:06 PM:
> On Thu, 2007 May 31 13:23:28 -0600, Eric Blake wrote:
>>> Leery of making "%c" == "%.1s". This behavior doesn't seem terribly useful.
>> But it would match what /bin/printf does, and nobody complai
On Thu, 2007 May 31 13:23:28 -0600, Eric Blake wrote:
> >
> > Leery of making "%c" == "%.1s". This behavior doesn't seem terribly useful.
>
> But it would match what /bin/printf does, and nobody complained about that
> being not terribly useful when it was standardized in POSIX.
Given the amount
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Daniel Richard G. on 5/31/2007 9:24 AM:
> A couple of comments on the format change:
>
> Love the gain of \NNN, \xHH et al. escape sequences. Will this include
> locale-dependent multi-byte characters with \u and \u as well?
A couple of comments on the format change:
Love the gain of \NNN, \xHH et al. escape sequences. Will this include
locale-dependent multi-byte characters with \u and \u as well?
Leery of making "%c" == "%.1s". This behavior doesn't seem terribly useful.
Also, once the transition peri
no overengineering necessary. :) I'll have the patch ready within
the week.
--
Eric Blake
--
View this message in context:
http://www.nabble.com/Re%3A-format-bug-tf3843938.html#a10895501
Sent from the Gnu - M4 - Discuss mailing list archive at Nabble.com.
_
On 31 May 2007, at 14:05, Eric Blake wrote:
Hello Gary,
Hi Eric,
According to Gary V. Vaughan on 5/31/2007 5:19 AM:
Meanwhile, m4's format builtin, for the past 17 years, has
handled %c as
a conversion from integer to character (with ASCII, format(%c,9)
results
in TAB, [[...]]
Gratuito
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Gary,
According to Gary V. Vaughan on 5/31/2007 5:19 AM:
>> Meanwhile, m4's format builtin, for the past 17 years, has handled %c as
>> a conversion from integer to character (with ASCII, format(%c,9) results
>> in TAB, [[...]]
>
> Gratuitousl
Hi Eric,
On 31 May 2007, at 01:56, Eric Blake wrote:
According to Eric Blake on 5/28/2007 10:15 PM:
Try this for a fun time:
$ echo 'format(%*.*d,-1,-1,1)' | m4 | wc
1 1 2280281
A related question I have about the format builtin:
Consider printf(1). POSIX allows conversion fro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 5/28/2007 10:15 PM:
> Try this for a fun time:
>
> $ echo 'format(%*.*d,-1,-1,1)' | m4 | wc
> 1 1 2280281
>
A related question I have about the format builtin:
Consider printf(1). POSIX allows conversion from
10 matches
Mail list logo