adb -s emulator-5554 shell "logcat | grep tracking_id"
这样使用是没问题的,当我想加一个标签时,
adb -s emulator-5554 shell "logcat | grep tracking_id|GameInfo_RoleInfo"
/system/bin/sh: GameInfo_RoleInfo: not found
adb -s emulator-5554 shell "logcat | grep tracking_id"
这样使用是没问题的,当我想加一个标签时,
adb -s emulator-5554 shell "logcat | grep tracking_id|GameInfo_RoleInfo"
/system/bin/sh: GameInfo_RoleInfo: not found
|
1
adb shell "logcat |grep -E 'tracking_id |GameInfo_RoleInfo'"
|
|
iwtbauhMar 22, 2019 via Android
2
adb shell logcat | egrep '...'
用本机的 grep 岂不是更好 Android 带的 grep 并不一定好用 |
|
mxi1Mar 23, 2019
3
上 cygwin, 用 cygwin 的 shell 调用 adb logcat |egrep “ aaa|bbb|ccc"
|
|
boolean93Mar 24, 2019
4
哪需要写那么复杂...直接 adb logcat | egrep "tracking_id|GameInfo_RoleInfo"
|
|
cctv6Mar 24, 2019 via iPhone
5
adb -s emulator-5554 shell "logcat | grep tracking_id| grep GameInfo_RoleInfo"
|