I access a serial measurement device via
screen /dev/tty.usbserial 9600. While the device is measuring it outputs its data n times per second on one line. How can I add a timestamp every line (or every few lines, if it slows the ?
I'm on OSX 10.8.2 and use Terminal.app as my terminal.