[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: egrep: question
From: |
Jeremy C. Reed |
Subject: |
Re: egrep: question |
Date: |
Wed, 10 Dec 2003 10:26:27 -0800 (PST) |
On Wed, 10 Dec 2003, roni wrote:
> i'd like to search a file, and every time i bump into the word
> "start", i'd like to print out all lines until i bump into the word "stop".
> and then proceed.. - to print out all the paragraphs in that file that
> start with "start" and end with "stop".
Try sed.
Have a look in the "sedfaq". It has examples.
Jeremy C. Reed
http://www.reedmedia.net/