Talk:Grabserial
quick and dirty
If you just need a timestamp and the input in one line, you can use the default UNIX tools like this:
cat /dev/ttyUSB0 | awk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; }'
--Mysli 22:55, 19 January 2012 (UTC)
- [View source↑]
- [History↑]
There are no threads on this page yet.