This program is a program to calculate the check digit of many numbers.
First prepare a file in which numbers are written.
After that, we will load the file into the program.
10001
10002
10003
.....
.....
When loading it, the number with the check digit should be displayed.
cat numbers.txt | check_digit
Verify the number with check digit, use the -c, --check option.
cat numbers.txt | check_digit -c
To execute the build, execute the following command.
make build
To execute the build for the release, execute the following command.
make release
The test can be executed with the following command.
make test
The MIT Licence