Ahh, well that explains it. Although I've heard GNU grep has this option, I don't have GNU grep on my system, so I'm not familiar with exactly how it behaves (and not having GNU grep is why I wrote this in the first place). Anyway, I've reversed the meaning of the option-r to make your suggested behavior the default :-)
In reply to Re: Re: Re: Re: Grep - print matched line and next N lines
by runrig
in thread Grep - print matched line and next N lines
by runrig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |