Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2003 03:52:53 -0400
From:      Carl Cotner <carl@nitanee.net>
To:        ports@FreeBSD.org
Subject:   port bug: agrep 2.02 on FreeBSD 5.1
Message-ID:  <20030816075253.GA62501@nitanee.net>

next in thread | raw e-mail | index | archive | help
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
     ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030816075253.GA62501>