adb shell "while true;do cat cmd;done"
【配图摄于江西赣州信丰大桥2017年国庆】
eg.
过滤多个pin脚
adb shell;while true;do cat sys/class/misc/mtgpio/pin |grep -E " 65| 66| 67| 68";done
adb shell "while true;do cat sys/class/misc/mtgpio/pin |grep -E ' 65| 66| 67| 68';done"