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 Mike Lewis 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: smik
  • Order by date
  1. smik

    looking for a single line command to search for line above and print line +

    Hi Feheke, Thank you for the one liner much appreciated :)
  2. smik

    looking for a single line command to search for line above and print line +

    Hi looking for a single line command to search for line and print line immediately above plus the second line, third line and fourth line above awk '/search_for_string/{x=$0;next}{print x";"$0;}' Thanks in advance Mik

Part and Inventory Search

Back
Top