in reply to grep -A10 oneliner?

perl -ne '(/pattern/..$x++>9)&&print'

OK, that's my best.

the lowliest monk

Replies are listed 'Best First'.
Re^2: grep -A10 oneliner?
by ikegami (Patriarch) on Apr 14, 2005 at 20:17 UTC

    Not quite. It doesn't support overlapping ranges.