From owner-freebsd-ports@FreeBSD.ORG Mon Aug 4 20:55:11 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E058C1065673 for ; Mon, 4 Aug 2008 20:55:11 +0000 (UTC) (envelope-from prvs=pschmehl_lists=09551e61c@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id B04318FC28 for ; Mon, 4 Aug 2008 20:55:11 +0000 (UTC) (envelope-from prvs=pschmehl_lists=09551e61c@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.31,306,1215406800"; d="scan'208";a="5905299" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 04 Aug 2008 15:26:38 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id B174323DEA for ; Mon, 4 Aug 2008 15:26:38 -0500 (CDT) Date: Mon, 04 Aug 2008 15:26:38 -0500 From: Paul Schmehl To: FreeBSD Ports Message-ID: <24E2FE8AA9A40D2EE14DF4F7@utd65257.utdallas.edu> In-Reply-To: <20080804201806.GA50143@nagual.pp.ru> References: <56E45E0F-29D4-4CA8-9936-384405AB874A@mac.com> <4897518D.4090001@FreeBSD.org> <20080804201806.GA50143@nagual.pp.ru> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: bsd-grep-20080725_1 -v flag busted... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 20:55:12 -0000 --On Tuesday, August 05, 2008 00:18:07 +0400 Andrey Chernov wrote: > On Mon, Aug 04, 2008 at 08:59:25PM +0200, G?bor K?vesd?n wrote: >> thanks for your notes. It seems very strange to me, because GNU grep >> produces the same output for me. Apart from this, the -v flag was really >> broken, but I applied some fixes before updating the port and in the >> version, which I committer, I thought that the -v flag was compatible. >> >> Here is what I get at the moment: >> >> > echo 'fee\nfi\nfoe\nfum' | ./grep -v fi >> > echo 'fee\nfi\nfoe\nfum' | /usr/bin/grep -v fi > > Example is broken, echo (for sh) supposed to be > > echo 'fee > fi > foe > fum' | ... Are you sure it's grep that's broken? pauls@utd65257# echo 'fee\nfi\nfoe\nfum' fee\nfi\nfoe\nfum -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply.