[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17420: [PATCH] grep: always convert fgrep to grep

From: Paul Eggert
Subject: bug#17420: [PATCH] grep: always convert fgrep to grep
Date: Fri, 09 May 2014 23:44:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Thanks, I see your point, so let's ignore my patch. Still, I'd rather not have the behavior depend on environment variables, and I'd rather have grep "just work" without the user having to specify options. Is there a better heuristic for deciding whether to use Commentz-Walter? If not, perhaps we should leave the code alone.

Beate Commentz-Waltertz Walter algorithm in KWset hasn't impremented Galil rule 

Can the Galil rule be adapted to Commentz-Walter? I didn't know this was possible.

Another possibility might be to replace Commentz-Walter with some other algorithm (Aho-Corasick, modified Wu-Manber, etc.) I suppose this would be a bigger project, though.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]