mirror of
https://github.com/wismna/HackPi.git
synced 2025-10-03 07:30:14 -04:00
Merge pull request #10 from Tibo-le-canard/patch-1
Replacing | tee by the operator >
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
# 0409 means english (wIndex)
|
# 0409 means english (wIndex)
|
||||||
# wLength is the size of the descriptor and this is what we want
|
# wLength is the size of the descriptor and this is what we want
|
||||||
LOGFILE=/home/pi/HackPi/usbreq.log
|
LOGFILE=/home/pi/HackPi/usbreq.log
|
||||||
dmesg | grep "USB DWC2 REQ 80 06 03" | tee $LOGFILE
|
dmesg | grep "USB DWC2 REQ 80 06 03" > $LOGFILE
|
||||||
WLENGTHS=`awk '$9!="0000" { print $10 }' $LOGFILE`
|
WLENGTHS=`awk '$9!="0000" { print $10 }' $LOGFILE`
|
||||||
TOTAL=0
|
TOTAL=0
|
||||||
COUNTER=0
|
COUNTER=0
|
||||||
|
Reference in New Issue
Block a user