Results 1 to 2 of 2
Hi
Running a specific nawk statement over a 17m lines files returns the following:
/bin/nawk: not enough args in .....
input record number 1,25955e+06 , file test.1
source line number ...
- 03-25-2008 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 27
awk/nawk returning decimal values?
Hi
Running a specific nawk statement over a 17m lines files returns the following:
/bin/nawk: not enough args in .....
input record number 1,25955e+06, file test.1
source line number 1
I'd like to report the line number (in bold above) in decimal not floating so that i can spot it out.
I tried to pass the OTMF variable in the nawk statement to "%.8d" but nothing helped.
Any awk/nawk expert woudl be able to figure this out?
Thanks for your help guys
- 03-26-2008 #2Just Joined!
- Join Date
- Aug 2005
- Posts
- 27
Any hints on this guys?


Reply With Quote