Re: [ns] Strange problem with AWK

2007-01-02 Thread Renata Vidal
I solved the same problem setting the LANG variable to en_US.UTF-8 On 12/8/06, Martina Umlauft [EMAIL PROTECTED] wrote: Hi there, I think the reason might be that your locale is set to german and awk expects a , instead of a . to denote the floating point number. Try your script with a

[ns] Strange problem with AWK

2006-12-08 Thread Stefan Trost
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{ }

Re: [ns] Strange problem with AWK

2006-12-08 Thread Alexander Sayenko
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

Re: [ns] Strange problem with AWK

2006-12-08 Thread Martina Umlauft
Hi there, I think the reason might be that your locale is set to german and awk expects a , instead of a . to denote the floating point number. Try your script with a test file that uses 0,490384092 and see if it works with that - then you have confirmation. My locale is set to: [EMAIL