bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk awking bug, version 3.1.5


From: Jürgen Kahrs
Subject: Re: gawk awking bug, version 3.1.5
Date: Tue, 02 Jan 2007 21:06:41 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20060911)

shioyai wrote:

> I am processing the words in plain text files.
> GNU Awk 3.1.5 dosn't work well. However,GNU Awk 3.1.3 is
> fine well. So, I try to find the bug reports. But, none.
> Sumary of my report is:
> my program is ver simple:

I could not reproduce the problem with GNU Awk 3.1.5.

> run: line 10:  9009 aborted(original message is japanese) gawk -f
> par3.awk w2.txt >w3.txt

I tried to use a Japanese locale (ja_JP.eucjp),
but I still couldnt reproduce the problem.
So, which locale do you use ? Use the "locale"
command to find out like this:

locale
LANG=ja_JP.eucjp
LC_CTYPE="ja_JP.eucjp"
LC_NUMERIC="ja_JP.eucjp"
LC_TIME="ja_JP.eucjp"
LC_COLLATE="ja_JP.eucjp"
LC_MONETARY="ja_JP.eucjp"
LC_MESSAGES="ja_JP.eucjp"
LC_PAPER="ja_JP.eucjp"
LC_NAME="ja_JP.eucjp"
LC_ADDRESS="ja_JP.eucjp"
LC_TELEPHONE="ja_JP.eucjp"
LC_MEASUREMENT="ja_JP.eucjp"
LC_IDENTIFICATION="ja_JP.eucjp"
LC_ALL=

I bet you are using one of these locales that
are not officially supported.

By the way, your script can be simplified to:

{
 print "DEB", $0;
 print $1, tolower($2);
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]