Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2007 10:10:34 -0300
From:      Agus <agus.262@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Fwd: grep question
Message-ID:  <fda61bb50707050610v1df26a65t687da4ec89327c72@mail.gmail.com>
In-Reply-To: <fda61bb50707050609o460cf693q38f092f3a01dec04@mail.gmail.com>
References:  <445024.12701.qm@web53303.mail.re2.yahoo.com> <468C2204.1070408@bellsouth.net> <fda61bb50707050609o460cf693q38f092f3a01dec04@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
---------- Forwarded message ----------
From: Agus <agus.262@gmail.com>
Date: 05-jul-2007 10:09
Subject: Re: grep question
To: Paul procacci <pprocacci@bellsouth.net>

2007/7/4, Paul procacci <pprocacci@bellsouth.net>:
>
> ann kok wrote:
> > Hi all
> >
> > how can I use grep to have the output as 60.40.2.x
> >
> > eg:
> > 60.40.2.5
> > 60.40.2.3
> > 60.40.2.7
> >
> > except 60.40.2x.x
> >
> > eg:
> > 60.40.20.5
> > 60.40.23.6
> > 60.40.25.7
> >
> > Thank you
> >
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Park yourself in front of a world of choices in alternative vehicles.
> Visit the Yahoo! Auto Green Center.
> > http://autos.yahoo.com/green_center/
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org
> "
> >
> >
> Sorry, after re-reading the question, I must admit I think I
> misunderstood.
>
> Pieter de Goeje's response seems to be more along the lines of what you
> were looking for.  ;P
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>

I think only with, grep '60\.40\.2\.' will suffice.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fda61bb50707050610v1df26a65t687da4ec89327c72>