Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: Gawk FIELDW...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 2192 of 2241
Post > Topic >>

Re: Gawk FIELDWIDTHS and multibyte characters

by =?ISO-8859-1?Q?J=FCrgen_Kahrs?= <Juergen.KahrsDELETETHIS@[EMAIL PROTECTED] Mar 16, 2008 at 08:42 PM

Hermann Peifer schrieb:

> $ awk 'BEGIN{FIELDWIDTHS = "2 20 20 20"}{print $4}' testdata
> Site
>   Kungsbacka
>  länGöteborg
> Stenungsund
> 
> Can someone confirm?

Yes, I just tried this example with Arnold's current
gawk-stable source tree at Savannah. The result is
the same as yours. Looks like you have found one more
of these painful multi-byte dark corners.




 3 Posts in Topic:
Gawk FIELDWIDTHS and multibyte characters
Hermann Peifer <peifer  2008-03-16 01:23:38 
Re: Gawk FIELDWIDTHS and multibyte characters
=?ISO-8859-1?Q?J=FCrgen_K  2008-03-16 20:42:41 
Re: Gawk FIELDWIDTHS and multibyte characters
Hermann Peifer <peifer  2008-03-16 21:04:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 7:18:37 CDT 2008.