Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11



    Still untested:

    Code:
    awk 'END {
      for (IP in ip) 
        print IP, ip[IP], tm[IP]
      }
    $2 > ip[$1] {
      ip[$1] = $2
      tm[$1] = $3 FS $4
      }' infile

  2. #12
    this one works perfectly....thanks a lot for solving my problem..
    Also could u refer me any book which could help me in awk scripting...i m unable to find any on awk specially

  3. #13

  4. $spacer_open
    $spacer_close

Posting Permissions

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