The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-05-2008
tansha tansha is offline
Registered User
 

Join Date: May 2006
Posts: 23
Help with selecting specific lines in a large file

Hello,

I need to select the 3 lines above as well as below a search string, including the search string.

I have been trying various combinations using sed command without any success.

Can anuone help please.

Thanking
Reply With Quote
Forum Sponsor