tikual,
> BEGIN{c=0} # Implicit
c is a flag saying if we have to print current line
> /search string/{c=11}
When "search string" is found, put in c the number of adjacent lines you want to output: the matching line + the 10 following
> c{print $0;c--}
If c is not evaluated as zero, print the current line and decrement c
Hope This Help
PH.