Eancheck(1)

✨ NAME ✨

eancheck β€” bestie's very own check digit validator for EAN, PLU and UPC barcode numbers πŸ’…


🌸 SYNOPSIS 🌸

eancheck [EAN code, PLU code or UPC prefixed with 0]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen 🫢 eancheck is literally the girl who does your math homework and then double-checks it. You hand her a 13 digit EAN (that's a European Article Number, aka the barcode number on your snack, iykyk) or a lil 4 digit PLU code, and she runs some simple maths upon it to discover the "check digit" ✨

Then β€” and this is the iconic part β€” she compares that freshly calculated digit against the last number of the inputted EAN to check whether that code is giving what it's supposed to give. If they match, the EAN/PLU is valid πŸ‘‘ If they do not, then the opposite applies πŸ’€

no cap, that's the whole vibe check.


πŸ’€ BUGS πŸ’€

Right now UPC codes need to be prefixed with a zero (i.e turned into EAN codes) to be properly checked πŸ™ˆ like, they're not beating the allegations yet. fr fr.


πŸŽ€ MAINTAINER πŸŽ€

Joe Baldwin <joe@joe-baldwin.net> β€” the main character keeping this whole operation running πŸ’–


and that's a wrap on the Eancheck(1) page from the General Commands Manual, footer and all πŸŽ€πŸ’œ thanks for coming to my TED talk, go scan something, periodt ✨

πŸ“¦ where this page comes from