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

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

Re: Gawk - problem with hexadecimal numbers


From: Juan Manuel Guerrero
Subject: Re: Gawk - problem with hexadecimal numbers
Date: Fri, 17 Feb 2006 23:29:46 +0100
User-agent: KMail/1.8.2

OFYI, on my SuSE Linux 10.0 I can not reproduce the
error no mattter which locale is used. I have also downloaded
gawk-3.1.{45}.tar.gz and compiled them. Both work flawless
for the 0xe-test. The output below is generated by the original
gawk binary installed by the SuSE distribution.


echo 0xf | awk '{printf strtonum($1)}'
15
echo 0xe | awk '{printf strtonum($1)}'
14


GNU Awk 3.1.4
Copyright (C) 1989, 1991-2003 Free Software Foundation.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Sie sollten eine Kopie der GNU General Publice License zusammen mit
diesem Programm erhalten haben. Wenn nicht, schreiben Sie an die Free 
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, 
USA.



ldd -r /bin/gawk:
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0x40028000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4002d000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40053000)
        /lib/ld-linux.so.2 (0x40000000)



The locale:
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Regards,
Juan M. Guerrero




reply via email to

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