From owner-freebsd-ports@FreeBSD.ORG Sat Aug 16 00:52:33 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25EDB37B401 for ; Sat, 16 Aug 2003 00:52:33 -0700 (PDT) Received: from freebsd2.nitanee.net (statecollegecable-64-178-98-203.ceinetworks.com [64.178.98.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 834F443F93 for ; Sat, 16 Aug 2003 00:52:32 -0700 (PDT) (envelope-from carl@freebsd2.nitanee.net) Received: by freebsd2.nitanee.net (Postfix, from userid 1001) id 8F635213D; Sat, 16 Aug 2003 03:52:53 -0400 (EDT) Date: Sat, 16 Aug 2003 03:52:53 -0400 From: Carl Cotner To: ports@FreeBSD.org Message-ID: <20030816075253.GA62501@nitanee.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: port bug: agrep 2.02 on FreeBSD 5.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2003 07:52:33 -0000 Hi, I have encountered the following bug with agrep 2.04 on FreeBSD 5.1. The bug does not appear on FreeBSD 4.2. I have address files whose format is address - blank line - address - blank line - etc, like so (Name 1 begins in column 1 in the file): Name1 Address1 City1, State1 Zip1 Name2 Address2 City2, State2 Zip2 ... The following command agrep -h -i -t -d '$$' Name address_file produces the following output (The first line is missing the first two characters): me1 Address1 City1, State1 Zip1 Name2 Address2 City2, State2 Zip2 ... As I said, this bug does not appear on FreeBSD 4.2. Thanks for all the great work you guys do! Cheers, Carl P.S. One more oddity. Although both agrep's on FreeBSD 4.2 and 5.1 are compiled from the distfile agrep-2.04.tar.Z, on the 4.2 machine the command agrep -V gives This is agrep version 3.0, 1994. On 5.1 it gives agrep: illegal option -V ...