From owner-freebsd-questions Mon Apr 15 11:51: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rtk1.rtk.net.pl (rtk1.rtk.net.pl [217.97.232.2]) by hub.freebsd.org (Postfix) with ESMTP id 4A3D037B404 for ; Mon, 15 Apr 2002 11:50:46 -0700 (PDT) Received: from ember-nt.rtk-local ([192.168.103.118] helo=ember.rtk-local) by rtk1.rtk.net.pl with smtp (Exim 3.12 #1 (Debian)) id 16xBYi-0006ej-00 for ; Mon, 15 Apr 2002 20:50:36 +0200 Received: (qmail 346 invoked by uid 1001); 15 Apr 2002 18:53:51 -0000 Date: Mon, 15 Apr 2002 20:53:50 +0200 From: Dominik Lupinski To: lcroker@megared.net.mx Cc: freebsd-questions@FreeBSD.ORG Subject: Re: GREP ! Message-ID: <20020415205350.A288@ember.rtk-local> References: <1018877866.25155.20.camel@matrix.corp.megared.net.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1018877866.25155.20.camel@matrix.corp.megared.net.mx>; from lcroker@matrix.corp.megared.net.mx on Mon, Apr 15, 2002 at 01:37:43PM +0000 Organization: --t-r-a-n-s-h-u-m-a-n-s--> X-Operating-System: FreeBSD 4.5-STABLE X-PGP-key: http://venus.wsb-nlu.edu.pl/~dlupinsk/yhpx.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 15, 2002 at 01:37:43PM +0000, Lu!s Croker wrote: Hi, > Hi, I need to filter a specific line of /etc/passwd, but grep can > not do it... for example, if I want to filter the line of "luis" user, > grep filter every lines that contain luis word, (luis.croker, > luis-alberto, etc.). Man specifics -x parameter for exact matches... but > it doesnt work, if I use it, no one line is filtered... How can I > filter a specific line?, Any Idea or another method? grep -w ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message