Fuzzy grep?
Ralph Finch
rfinch at caldwr.water.ca.gov
Sat Nov 3 10:34:34 AEST 1990
Is there something like grep, except it will (easlly) search an entire
file (not just line-by-line) for regexp's near each other? Ideally it
would rank hits by how much or how close they match, e.g.
fzgrep 'abc.*123' filename
would return hits not by line number but by how close abc & 123 are
found together. Also it wouldn't matter what order the regexp's are.
--
Ralph Finch 916-445-0088
rfinch at water.ca.gov ...ucbvax!ucdavis!caldwr!rfinch
Any opinions expressed are my own; they do not represent the DWR
More information about the Comp.unix.questions
mailing list