Fwd: grep question

Agus agus.262 at gmail.com
Thu Jul 5 13:10:37 UTC 2007


---------- Forwarded message ----------
From: Agus <agus.262 at gmail.com>
Date: 05-jul-2007 10:09
Subject: Re: grep question
To: Paul procacci <pprocacci at bellsouth.net>

2007/7/4, Paul procacci <pprocacci at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

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


More information about the freebsd-questions mailing list