
XPosting: Search for best matched string
Hi,
I have 2 strings(both may have variable number of words)
first string is: Unix Shell programming by Kernighan and Pike
second string is: Unix Shell Programming by Kernighan
Would it possible thru unix bash shell script to tell that the
portion of the second string "Unix Shell Programming by Kernighan" is
matching partially with the first string?
Further my second string can be:
Unix Shell programming by Pike
The same script(case insensitive) shud tell that the portion of the
second string
"Unix Shell programming by" matches partially with the first string.
Can anyone help me.
Thanks in advance,
Anil.