The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



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

Join Date: Feb 2008
Posts: 56
Thanks for the quick reply, i tried it but it dint work for me.. i can make my situation more clear... i need to copy the data from a file except for the first 4 and the last 2 lines to a new file .. say File1 has lines
a1
a2
a3
a4
a5
.
a59
a60
a61

my new file should contain
a5
..
a59

Hope im clear.. a quick solution is really appreciated... thanks
Reply With Quote