Gentoo Archives: gentoo-user

From: Adam Carter <Adam.Carter@×××××××××.au>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] Grep question
Date: Mon, 02 Mar 2009 02:01:32
I need to select all the lines between string1 and string2 in a file. String1 exists on an entire line by itself and string2 will be at the start of a line. What's the syntax? I cant use -A as there is a variable number of lines.



Subject Author
Re: [gentoo-user] Grep question Mike Kazantsev <mike_kazantsev@×××××××.net>
Re: [gentoo-user] Grep question Steven Lembark <lembark@×××××××.com>
[gentoo-user] Re: Grep question James <wireless@×××××××××××.com>