Package: tre-agrep
Version: 0.7.3-1
Severity: important

None of the options to select records that have at most NUM errors seem to work:

$ tre-agrep -w -B --max-errors=3 -s -e "fonraesxxat" words-places.txt
5:fondest
5:foresaw
5:foresaw
5:foresight
5:foresight
5:forest
5:forest
5:foreswear
5:foreswear
5:forrest
$ tre-agrep -w -B -E 4 -s -e "fonraesxxat" words-places.txt | head -1
5:fondest
$ tre-agrep -w -B -S 4 -s -e "fonraesxxat" words-places.txt | head -1
5:forest
$ tre-agrep -w -B -4 -s -e "fonraesxxat" words-places.txt | head -1
5:fondest

The -S option probably means --substitute-cost=NUM, not --max-errors=NUM as 
suggested by the man-page (see Bug#508547).

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tre-agrep depends on:
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libtre4                0.7.3-1           regexp matching library with appro

tre-agrep recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to