From owner-freebsd-questions Mon Apr 15 11:38:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [200.52.207.52]) by hub.freebsd.org (Postfix) with ESMTP id AEAF337B41C for ; Mon, 15 Apr 2002 11:38:26 -0700 (PDT) Received: from matrix.corp (matrix.corp.megared.net.mx [200.52.193.10]) by unix.megared.net.mx (8.11.6/8.11.6) with ESMTP id g3FIdus35299 for ; Mon, 15 Apr 2002 13:39:58 -0500 (CDT) (envelope-from lcroker@matrix.corp.megared.net.mx) Subject: GREP ! From: Lu!s Croker Reply-To: lcroker@megared.net.mx To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 15 Apr 2002 13:37:43 +0000 Message-Id: <1018877866.25155.20.camel@matrix.corp.megared.net.mx> Mime-Version: 1.0 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 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? Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message