Subject: RE: Grep Question
To: 'Jeff Flowers' <jeffrey@jeffreyf.net>
From: Mine Sakiyama <msakiyam@nortelnetworks.com>
List: netbsd-help
Date: 09/17/2002 13:26:22
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C25E88.3B315B2E
Content-Type: text/plain;
charset="iso-8859-1"
You can use grep -v
Mine
>
> I have a large tab-delimited text file of an inventory. I know that I
> can use grep to show matching lines but can grep be used to show only
> lines that don't match a phrase? I am looking though Google but I
> haven't seen anything yet.
>
> Basically, I want to filter out lines with a particular phrase in
> them.
>
>
> Thanks in advance,
>
>
> Jeff Flowers
> jeffrey@jeffreyf.net
>
>
------_=_NextPart_001_01C25E88.3B315B2E
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.35">
<TITLE>RE: Grep Question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>You can use grep -v </FONT>
</P>
<P><FONT SIZE=2>Mine</FONT>
</P>
<P><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I have a large tab-delimited text file of an inventory. I know that I</FONT>
<BR><FONT SIZE=2>> can use grep to show matching lines but can grep be used to show only</FONT>
<BR><FONT SIZE=2>> lines that don't match a phrase? I am looking though Google but I</FONT>
<BR><FONT SIZE=2>> haven't seen anything yet.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Basically, I want to filter out lines with a particular phrase in</FONT>
<BR><FONT SIZE=2>> them.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Thanks in advance,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Jeff Flowers</FONT>
<BR><FONT SIZE=2>> jeffrey@jeffreyf.net</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C25E88.3B315B2E--