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