Date: | Wed, 10 Aug 2016 16:27:52 -0700 |
From: | Bret Victor |
Subject: | Re: barcode scanner |
./picocom --baud 9600 --imap crlf /dev/tty.usbserial-* | perl open-barcodes.pl
which looks for eight-digit numbers, and uses chrome-cli to open the barcode redirect URL in a Chrome tab.while (<>) {chomp;if (/^\d{8}$/) {}}