[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OT] Is od broken?
From: |
Eric Blake |
Subject: |
Re: [OT] Is od broken? |
Date: |
Wed, 11 Jun 2008 18:28:10 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Paul Eggert on 6/11/2008 5:09 PM:
| Eric Blake <address@hidden> writes:
|
|> - printf (fmt_string, *p++);
|> + printf (fmt_string, pad, "", *p++);
|
| How about doing padding this way instead?
|
| printf (fmt_string, width, *p++);;
It looks cleaner, if we stick with fixed-width padding (and lots of extra
space). But I like the compressed end-result that occurs when using v2 of
the patch, where variable-width padding becomes more apparent.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhQbZoACgkQ84KuGfSFAYBcBwCgxwDXMhEeXX/lLf4+sbNAz5Hy
sfMAoJxWYgPVkIaJMmgvIk9DzFEu7tYy
=opgC
-----END PGP SIGNATURE-----
- Re: [OT] Is od broken?, Eric Blake, 2008/06/11
- Re: [OT] Is od broken?, Eric Blake, 2008/06/11
- Re: [OT] Is od broken?, Eric Blake, 2008/06/11
- Re: [OT] Is od broken?, Jim Meyering, 2008/06/11
- Re: [OT] Is od broken?, Paul Eggert, 2008/06/11
- Re: [OT] Is od broken?,
Eric Blake <=
- Re: [OT] Is od broken?, Eric Blake, 2008/06/12
- Re: [OT] Is od broken?, Jim Meyering, 2008/06/12
- Re: [OT] Is od broken?, Eric Blake, 2008/06/12
- Re: [OT] Is od broken?, Bo Borgerson, 2008/06/12
- Re: [OT] Is od broken?, Jim Meyering, 2008/06/13