[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: might be a bug in gawk
From: |
Micah Cowan |
Subject: |
Re: might be a bug in gawk |
Date: |
Wed, 25 Mar 2009 11:23:11 -0700 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dave B wrote:
> Andreas Schwab wrote:
>
>> There is no formatting directive that reqires an argument. %28b is
>> unknown and %29% is treated the same as %%.
>
> Where is that documented?
The "29" is a field-width specification. The % is the conversion
specifier (called the "control letter" in awk's docs).
>> Perhaps mawk assigns a meaning to %b.
mawk seems to require an argument for both the %b and %29%, but then
does not actually _use_ it if supplied (%29 and % are apparently treated
as separate specifiers, and so require two unused arguments). This
strongly suggests a deficiency in mawk, to me.
> What about the %c at the end?
There is no %c at the end, there is only c (the preceding % is part of
the %29% that has already been explained).
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknKdo8ACgkQ7M8hyUobTrFgQwCfWWel6X/7HB5WAOkJsC0VmVe9
GpgAn0aDhVwYBf9xpM6QfXRTovD4qiNW
=DD3o
-----END PGP SIGNATURE-----
- might be a bug in gawk, joanes.polus, 2009/03/25
- Re: might be a bug in gawk, Andrew J. Schorr, 2009/03/25
- Re: might be a bug in gawk, Dave B, 2009/03/25
- Re: might be a bug in gawk, Andreas Schwab, 2009/03/25
- Re: might be a bug in gawk, Dave B, 2009/03/25
- Re: might be a bug in gawk, Andreas Schwab, 2009/03/25
- Re: might be a bug in gawk, Micah Cowan, 2009/03/25
- Re: might be a bug in gawk, Dave B, 2009/03/26
- Re: might be a bug in gawk,
Micah Cowan <=
Re: might be a bug in gawk, Jean-Michel ELYN, 2009/03/26
Re: might be a bug in gawk, Pierre Gaston, 2009/03/26