On Tuesday 3 March 2009, 03:10, Harry Putnam wrote:

> cat a | awk '/^foo/{FLAG=1}\
>              FLAG{print} \
>              /^bar/{FLAG=""}'

awk '/^foo/,/^bar/' a 

does the same :)

Reply via email to