[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
locale
From: |
Hanns-Konrad Unger |
Subject: |
locale |
Date: |
Wed, 26 Nov 2003 20:47:18 +0100 |
Hello,
I am sorry to have a problem with your fine program:
gawk --version => GNU Awk 3.1.3
cat /etc/issue => Debian GNU/Linux testing/unstable
cat /proc/version => Linux version 2.4.22-xfs (address@hidden)
(gcc version 2.95.4 20011002 (Debian prerelease))
#1 SMP Fr Sep 19 17:55:45 CEST 2003
The system is a Knoppix 3.3 self-loadable CD from www.knopper.net
locale => address@hidden ...
My Problem with decimal-comma:
echo -0,1|gawk {printf "%f\n",$1} => 0,000000 !!!!!!!!!!!!!!!!!!!!!!!!!!
This seems to be a real problem, because
echo -1,1|gawk {printf "%f\n",$1} => -1,100000 is OK.
Another Problem was, that I had to consult the sort-man-page(!) to find
a workaround, remembering, that I had Problems with Umlaut and sort
a few years ago. I work around the bug using decimal-point:
export LC_ALL=C; echo -0.1|gawk {printf "%f\n",$1} => -0.100000
Sincerely
Hanns-Konrad
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- locale,
Hanns-Konrad Unger <=