Hi Eric,
Hmm, yes this is a bit confusing,
I agree your 'agrep -S1' case is producing the wrong result, however in 4.17-9
the manpage says:
' -SkSet the cost of a substitution to k (k is a positive integer). This
option does not currently work with regular
expressions.'
so, I think that's just a limitation on agrep 4.17
I agree the -1 case is wrong to emit 'aterfal' since I agree it's
nowhere in the input (and that's why I've confirmed it).
As for versions, yes, it's a mess, the 'homepage' listed in
debian/control points to http://freshmeat.net/projects/agrep whcih
points to the 2.04 version ftp://ftp.cs.arizona.edu/agrep/
The package has a 4.17 source tar and from what I can see it comes from
http://wftp.tu-
chemnitz.de/pub/Local/urz/ding/contrib/SRPMS/agrep-4.17-1.src.rpm that
was suggested in the following debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=307442
but as you say the printed version number is completely inconsistent in
that source.
** Bug watch added: Debian Bug tracker #307442
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=307442
** Changed in: agrep (Ubuntu)
Importance: Undecided = Medium
** Changed in: agrep (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/914037
Title:
agrep gives incorrect output in some approximate searches
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/agrep/+bug/914037/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs