1. 程式人生 > >Grep 用法示例2

Grep 用法示例2

adb logcat -c; adb logcat -v time | grep '\(add track (\|Track constructor name \|: remove track (\)'
adb logcat -c; adb logcat -v time | grep '\(Track constructor name \|: remove track (\)'

如下所示:

adb logcat -c; adb logcat -v time | grep '\(add track (\|Track constructor name \|: remove track (\)'
adb logcat -c; adb logcat -v time | grep '\(Track constructor name \|: remove track (\)'