Date: Wed, 04 Jul 2007 16:30:57 -0500 From: Paul procacci <pprocacci@bellsouth.net> To: ann kok <annkok2001@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: grep question Message-ID: <468C1191.3030901@bellsouth.net> In-Reply-To: <445024.12701.qm@web53303.mail.re2.yahoo.com> References: <445024.12701.qm@web53303.mail.re2.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" > > egrep "60.40.2[0-9]?." < blah.txt ;P Cheers!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468C1191.3030901>