[TRE-general] agrep funniness

Andi Kleen ak at suse.de
Mon Jul 9 18:54:39 EEST 2007



Using TRE 0.7.5 agrep on x86_64-linux/gcc 4.1:

% grep '^shoe$' /usr/dict/words 
shoe
% agrep -1 show /usr/dict/words
% agrep -2 show /usr/dict/words 
Aaronson
Aaronson's
abash
abashed
abashedly
abashes
abashing
abashment
abashment's
%

I would have expected shoe to be included in the first and second agrep outputs.
What am I doing wrong? 

-Andi



More information about the TRE-general mailing list