(Video materials in preparation)
iscode : Checks the number of digits in a numeric code.
Usage : iscode <n> <string>
Version : Mon Jan 17 11:50:14 JST 2022
Edition : 1
If <string> is a number with <n> digits, the command exits normally,
otherwise it exits with an error (exit status 1).
$ iscode 8 20090101
$ echo $?
0
$ iscode 8 0101
$ echo $?
1
$ iscode 4 A123 <-- Must be numeric
$ echo $?
1