Kaydet (Commit) 2a6be902 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Flush output after each line

Change-Id: Id96ab8d9938725d780c475f2f892660f04448df1
üst fe2711dc
#!/usr/bin/perl -w
use strict;
use IO::Handle;
die "Usage: $0 identifier\n" .
"(identifier is for example org.libreoffice)" unless $#ARGV == 0;
......@@ -15,5 +16,6 @@ while (<LOGCAT>) {
$pid = $1;
} elsif (m!^[EIW]/[^(]+\( *$pid\)!) {
print $_;
STDOUT->flush();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment