Todd Walton wrote:

On 4/16/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:

James G. Sack (jim) wrote:
>Is there some reason (perhaps just curiosity?) for talking about doing
>it within vim?

Mainly getting context along with the match.


'man grep' says:

      -C NUM, --context=NUM
             Print NUM lines of output context.  Places a line
containing --  between contiguous
             groups  of matches.

-todd, man


That's cool, but in a four stage pipe it would be necessary to include that switch four times. Still, it's something to consider. Thanks.


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to