Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Just Joined!
    Join Date
    Aug 2005
    Posts
    27
    Any hints on this guys?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...