From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 20:26:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC92B16A469 for ; Wed, 4 Jul 2007 20:26:09 +0000 (UTC) (envelope-from annkok2001@yahoo.com) Received: from web53303.mail.re2.yahoo.com (web53303.mail.re2.yahoo.com [206.190.49.93]) by mx1.freebsd.org (Postfix) with SMTP id 5D25113C46E for ; Wed, 4 Jul 2007 20:26:09 +0000 (UTC) (envelope-from annkok2001@yahoo.com) Received: (qmail 14500 invoked by uid 60001); 4 Jul 2007 19:59:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=yJRXZoEALVCZMhkDeAadUn+KoAlWJkrUd/eM/RBrs6/rp3h6u0Yz3MMemm1KiaVt71yOk878OSpOWHlLohigt4Ivwu1X0LbDxZme2ggQ4KT4soHJTL0uwkljvkwXzhstV3mi/KOMSFTjNIMfOY6CYR2PWG5mwyZK7dpj2QAaaD0=; X-YMail-OSG: nomaIwYVM1kGiXM_0_0UdM0fwaVXyg.lfTQ0YeQ8.w9ctL9IMEgIFtvDDUdQxjC5E37D9hOjHGB5MkYkmQkkWViiEK_vTQkMDWCsFxK91G.Hc_pOM53YCMu6GxoPFQ-- Received: from [66.49.254.13] by web53303.mail.re2.yahoo.com via HTTP; Wed, 04 Jul 2007 12:59:27 PDT Date: Wed, 4 Jul 2007 12:59:27 -0700 (PDT) From: ann kok To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <445024.12701.qm@web53303.mail.re2.yahoo.com> Subject: grep question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 20:26:09 -0000 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/