Skip to content

Releases: hroptatyr/numchk

numchk v0.2.0

03 Apr 11:21
v0.2.0
Compare
Choose a tag to compare

Summary: v0.2.0 of numchk
Keywords: v0.2.0

This is numchk v0.2.0.

This is a feature release.

  • lots more checks
  • bidding system abandoned, i.e.
  • all matching numbers are printed
  • devel build needs Ragel now
  • check character is introduced _ or ?
  • allow CUSIPs to be alphanum

See info page examples and/or README.

numchk v0.1.0

04 Mar 16:02
v0.1.0
Compare
Choose a tag to compare

Summary: v0.1.0 of numchk
Keywords: v0.1.0

This is numchk v0.1.0.

This is the initial release.

Supported checks

As of version 0.1 the following numbers can be identified and checked:

  • FIGIs (formerly known as Bloomberg Global Identifiers)
  • ISINs (according to ISO 6166:2013)
  • IBANs (according to ISO 13616-1:2007)
  • CUSIPs
  • SEDOLs
  • credit card account numbers
  • GTINs
  • ISBNs

Examples

numchk comes with a no-frills UI that does what you'd expect:

$ numchk JP3946600008
JP3946600008    ISIN, conformant with ISO 6166:2013
$ numchk BBG000XDNRC6 BBG005D215R6
BBG000XDNRC6    FIGI, conformant with http://www.omg.org/spec/FIGI/1.0
BBG005D215R6    FIGI, not conformant, should be BBG005D215R7
$

Input from stdin is of course allowed:

$ numchk <<EOF
378282246310005
3566 0020 2036 0505
5901234123457
978-3-16-148410-0
EOF
378282246310005 American Express, conformant account number
3566 0020 2036 0505 JCB, conformant account number
5901234123457   GTIN, conformant
978-3-16-148410-0   ISBN, conformant with ISO 2108:2005
$

See info page examples and/or README.