The fstrcmp package provides a library which may be used to make
fuzzy comparisons of strings and byte arrays.  It also provides
simple commands for use in shell scripts.

WWW: http://fstrcmp.sourceforge.net/