remove timestamp and then parse dmesg
[librfid] / ccid-dump.sh
1 #!/bin/sh -xe
2 test -d dump || mkdir dump
3 test -f dump/ccid || gcc -DTEST -Wall -Iinclude -lusb -g src/ccid/ccid-driver.c -o dump/ccid
4 sudo ./dump/ccid 2>&1 | tee dump/`hostname`.ccid