I agree your 'agrep -S1' case is producing the wrong result, however in 4.17-9 the manpage says:
' -Sk Set 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).
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:
expressions. '
' -Sk Set the cost of a substitution to k (k is a positive integer). This option does not currently work with regular
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.