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
yukiww233 Mar 22, 2019 adb shell "logcat |grep -E 'tracking_id |GameInfo_RoleInfo'"
|
2
iwtbauh Mar 22, 2019 via Android
adb shell logcat | egrep '...'
用本机的 grep 岂不是更好 Android 带的 grep 并不一定好用 |
3
mxi1 Mar 23, 2019
上 cygwin, 用 cygwin 的 shell 调用 adb logcat |egrep “ aaa|bbb|ccc"
|
4
boolean93 Mar 24, 2019
哪需要写那么复杂...直接 adb logcat | egrep "tracking_id|GameInfo_RoleInfo"
|
5
cctv6 Mar 24, 2019 via iPhone
adb -s emulator-5554 shell "logcat | grep tracking_id| grep GameInfo_RoleInfo"
|