ceph/branches/riccardo/monitor2/script/clean_trace.pl
riccardo80 07ac5d3e74 creating branch for distributed monitor
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1068 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 05:43:23 +00:00

9 lines
96 B
Perl
Executable File

#!/usr/bin/perl
my $n = 0;
while (<>) {
next unless /trace: /;
my $l = $'; $';
print $l;
}