I need to compare two string in Bourne shell of the same fixed length. I need to compare each character against the place holder in the opposite string and find out how many differences there are. Does anyone have any suggestions on how to go about this?
I am just after a way of the number of differences i.e. if I compared aab & aac the differences would be 1.
This also has to be 100% bourne.