public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Grep question
@ 2009-03-02  2:01 Adam Carter
  2009-03-02  2:04 ` Mike Kazantsev
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Adam Carter @ 2009-03-02  2:01 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

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.

Thanks.


[-- Attachment #2: Type: text/html, Size: 781 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-06  9:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02  2:01 [gentoo-user] Grep question Adam Carter
2009-03-02  2:04 ` Mike Kazantsev
2009-03-02 10:01 ` Steven Lembark
2009-03-02 14:06 ` [gentoo-user] " James
2009-03-03  2:10   ` Harry Putnam
2009-03-03  9:52     ` Etaoin Shrdlu
2009-03-05 16:54       ` Harry Putnam
2009-03-05 23:01         ` Adam Carter
2009-03-06  9:33           ` Etaoin Shrdlu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox