[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: traditional awk: lazy splitting of $0?
From: |
Eric Blake |
Subject: |
Re: traditional awk: lazy splitting of $0? |
Date: |
Sat, 17 Nov 2007 05:38:55 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 11/17/2007 1:38 AM:
> Oh well. Tru64 4.0D awk doesn't work that way:
>
> $ perl -e 'print "x "x200;' | awk '{print $0}'
> awk: Line x x x x x x x x x x cannot have more than 199 fields.
> Tru64 4.0D awk
> even splits the input if $i, i>0, was never accessed in the script.
Let's document that in autoconf.texi, then.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHPuDf84KuGfSFAYARAsM1AJ9u5m5Cxb2AzJggs0USlR0HmSl1VQCcDl1q
IJ6DMoJ6HBCbPPJ3VKYZmuQ=
=u7+C
-----END PGP SIGNATURE-----