Rev | Author | Line No. | Line |
---|---|---|---|
3284 | kaklik | 1 | #!/bin/sh |
2 | #sudo picocom /dev/ttyUSB0 | |
||
3 | while [ 1 ]; do |
||
4 | if read line; then |
||
5 | echo -n "$line $(date +%Y-%m-%d-%H-%M-%S.%N) \n\r" | tee -a ./$(date +%F)_$1.log |
||
6 | fi |
||
7 | done |
||
8 |