port bug: agrep 2.02 on FreeBSD 5.1
Carl Cotner
carl at nitanee.net
Sat Aug 16 00:52:33 PDT 2003
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
...
More information about the freebsd-ports
mailing list