[TriLUG] Negative search in Vi
Scott Lambdin
lopaki at gmail.com
Mon Apr 14 17:04:37 EDT 2008
Just the part about wanting to do it in vi. ^_^
--Scott
On 4/13/08, MG <mgmonza at gmail.com> wrote:
>
> If you didn't want the original line,
>
>
> grep -A 1 sometext somefile | grep -v sometext
>
>
> But I'm probably missing something pretty obvious...
>
>
> MG
>
>
> Scott Lambdin wrote:
> > Is there a way to search for the next line without a certain pattern?
> > I'm
> > not figuring it out.
> >
> > --Scott
> >
> >
>
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>
--
CILCIL
More information about the TriLUG
mailing list