Perl script to format the output of the android adb logcat command