diff options
author | David Wührer <def@gmx.at> | 2024-05-18 21:04:34 +0200 |
---|---|---|
committer | David Wührer <def@gmx.at> | 2024-05-18 21:04:34 +0200 |
commit | 77cfffee6177fb0421fa0fce15d6a1875bde4816 (patch) | |
tree | 251428cdd482ea50cfb019dbd3c3bafd79d2fd14 /man/man1/ean13.1 | |
parent | 75b23ce1ff0daab363725a2a5755ea80bbeaa68e (diff) |
manuals, sum-down, radix
Diffstat (limited to 'man/man1/ean13.1')
-rw-r--r-- | man/man1/ean13.1 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/man/man1/ean13.1 b/man/man1/ean13.1 new file mode 100644 index 0000000..f6137c6 --- /dev/null +++ b/man/man1/ean13.1 @@ -0,0 +1,35 @@ +.TH ean13 1 2024-03-15 utils + +.SH NAME +ean13 \- check or compute european article numbers + +.SH SYNOPSIS +.B ean13 +.RI [ arg\ ... ] + +.SH DESCRIPTION +.B ean13 +checks for each argument if it is a valid EAN13 number, +that is a European Article Number that has 13 digits; +or computes the checksum digit if the argument has only 12 digits. + +.SH EXIT STATUS +.TP +.B 0 +If the number is valid or the checksum is computed. + +.TP +.B 1 +If the number is not valid. + +.SH EXAMPLES +.HP +Compute the checksum number: + +.BR ean13 \ 012345678901 + +.HP +Check if the number is a valid EAN13: + +.BR ean13 \ 0123456789012 + |