Hi

We had the same problems on one workstation. There are two workstations with
Fedora Core 4 Linux. Everything is fine on the first workstation, the second
one has this problem. I have tried to solve it by installing different
versions of AWK - same result. I presume it is not AWK but some library,
maybe glibc, which is responsible for converting the floating-point values.
The only difference between these workstations is that they have different
regional settings. Could it be so that AWK uses somehow those settings and
expect different floating-point separator, i.e. 3.2 and 3,2?

Let me know if you solve it.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


Hi,

I am currently running crazy with a very simple AWK skript... but for any
reason awk does not read any floating point variables from my trace file

----------------------------------------
BEGIN{
}

{
    time = $3
    printf("Time: %.6g    \n", $3)
}
END{
}
---------------------------------------------

The problem is, that I the script just prints the first number and ignors
all other digits

e.g. 0.499890716 --> 0

I also tried printing it as a string, that works, but I cannot use it for
any calculation...

Please help!!!!!!








___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.15/579 - Release Date: 07.12.2006


Reply via email to