Thread: Unix - AWK

  1. #1

    Unix - AWK

    I am trying to write a simple AWK script I need it to scan through a file and return some results based on a specified pattern. It has to count the number of records scanned though as well as the number of records returned. I use the NR variable for the records returned, but how do i count records scanned? Any help is much appreciated, been at this literally all day!

  2. #2
    Can you give more details and the stdout?

Posting Permissions

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