Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: rafquery
  • Content: Threads
  • Order by date
  1. rafquery

    how to compare two fields in different lines with awk?

    Hi, I would like to know if it is possible to compare two fields that are in different lines? I have a file that looks like this: a b 145 c d e f 102 g h i j 247 k l m n 102 o p and I would like to get for example here the two lines that contains "102" in $4. I first sorted out the file...

Part and Inventory Search

Back
Top