Text processing - Find text before/after given word [closed]

view story

http://unix.stackexchange.com – Possible Duplicate: Show only text between 2 matching pattern I have a text file with huge content, but just the middle portion of it is of interest to me and I would like to extract it. All the content between the words 'Station Name' and 'Data End' is the required text. Structure of text file for clarification: ---- Huge text -- not interested Station Name 100 - 200 lines Data End ---- Again text --- How would I easily extract the data? To ask in general, how can we find the data in particular section and then process over it (delete/replace ... etc) i.e. before a specifi (HowTos)