The curious world of check digits

In many standardised numerical codes, one or more digits are special. They’re called check digits and they can be used to check that the code hasn’t changed due to human or computer error. This post shows how they work and includes an AWK function for checking one kind of numerical code.

Source: LXer – The curious world of check digits