From owner-freebsd-questions@FreeBSD.ORG Thu Jul 5 13:10:37 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 3ADAB16A400 for ; Thu, 5 Jul 2007 13:10:37 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id E3C6C13C4AD for ; Thu, 5 Jul 2007 13:10:36 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so4875670pyb for ; Thu, 05 Jul 2007 06:10:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=tdHkOcTIp4/eh7H49IJNG4G4+sUr419lEpm2gCKv3HuMc2IghkPiiau3USRSsdJoh4WnzADo7vdJGNXcC153HQlUFIyQgLqaBSG39qy+01UnqmZOGK9e0tOt4H7Hnbog9wrKp+eN/2HHQKEcmOl/GMpsS6GNiPcSLEZd97XFngM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ciE+S7nd3Y21Cow9wazM6RS5IEY18Wajotn97cA8etXlBhvzFdtJX5pN0SgUR7P9XXKaoPruz/lrbrt1KbCLhZYaXxR1eqpIPrTSxZ+AL85GmvoZdlz6NyxpomaxBqN5HBL/qAYZTfJJLPLOQm3IvXqMWxyqML8667GWGP3SkvQ= Received: by 10.64.181.12 with SMTP id d12mr14473511qbf.1183641034806; Thu, 05 Jul 2007 06:10:34 -0700 (PDT) Received: by 10.65.185.20 with HTTP; Thu, 5 Jul 2007 06:10:34 -0700 (PDT) Message-ID: Date: Thu, 5 Jul 2007 10:10:34 -0300 From: Agus To: freebsd-questions In-Reply-To: MIME-Version: 1.0 References: <445024.12701.qm@web53303.mail.re2.yahoo.com> <468C2204.1070408@bellsouth.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: 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: Thu, 05 Jul 2007 13:10:37 -0000 ---------- Forwarded message ---------- From: Agus Date: 05-jul-2007 10:09 Subject: Re: grep question To: Paul procacci 2007/7/4, Paul procacci : > > 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.