grep the adb logcat & write the output to a text file

I think there is a problem with grep buffering. You can try something like this:

./adb logcat | grep --line-buffered ABC > std.txt

It should be the same problem for chained grep.

EDIT: A similar question can be found here: Why no output is shown when using grep twice?.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)