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

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

Re: Locale dependant bug (?) with numeric input in gawk-3.1.3


From: Jim Meyering
Subject: Re: Locale dependant bug (?) with numeric input in gawk-3.1.3
Date: Wed, 28 Apr 2004 22:16:42 +0200

Michael Mauch <address@hidden> wrote:
> % echo 0.1 0,1 | LC_ALL=de_DE gawk '{ print $1+1, $2+1 }'
> 1 1
>
> I think gawk should recognize one of the formats "0.1" or "0,1" as a
> number, but it doesn't seem to do so.

Here's what I get

  $ echo 0.1 0,1 | LC_ALL=de_DE gawk '{ print $1+1, $2+1 }'
  1.1 1

I'm using gawk-3.1.3 and libc6-2.3.2 with linux-2.6.5.




reply via email to

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