The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux 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