Hi Adam,
I think you need to use the -k option to get the behaviour you want.
As I read the manpage what agrep does is search for the 'pattern' - and that
pattern includes searching for the regexp, and then if it doesn't find it gives
you the 'best' (with -B). But because you passed it things with '.' they form
part of a regexp meaning 'anything'
so the regexp matches properly, and it never goes into finding a 'best' case.
-k solves that by never allowing regexp.
** Changed in: agrep (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/508973
Title:
improper matching of certain words
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/agrep/+bug/508973/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs