From: | Etaoin Shrdlu <shrdlu@×××××××××××××.org> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Re: Grep question | ||
Date: | Tue, 03 Mar 2009 09:55:07 | ||
Message-Id: | 200903031052.31668.shrdlu@unlimitedmail.org | ||
In Reply to: | [gentoo-user] Re: Grep question by Harry Putnam |
1 | On Tuesday 3 March 2009, 03:10, Harry Putnam wrote: |
2 | |
3 | > cat a | awk '/^foo/{FLAG=1}\ |
4 | > FLAG{print} \ |
5 | > /^bar/{FLAG=""}' |
6 | |
7 | awk '/^foo/,/^bar/' a |
8 | |
9 | does the same :) |
Subject | Author |
---|---|
[gentoo-user] Re: Grep question | Harry Putnam <reader@×××××××.com> |