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 SkipVought 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: *

  1. flyacr

    Rewriting grep to capture matching record then to print the 5 lines

    I am trying to rewrite the grep command to capture the record(line) that has a pattern match and then to print out the matching line plus the 5 lines above and below the matched line so one can view the match in context. My problem is capturing the matched record. Here is a sample of what I have...

Part and Inventory Search

Back
Top