From: Allan Randall Date: Tue, 22 Aug 2006 03:56:34 +0000 (+0000) Subject: fixed common line filter X-Git-Tag: v1.1.0~594 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b6f1679a3757a641cc379167fd3a7aced05f7540;p=xfstests-dev.git fixed common line filter Merge of master-melb:xfs-cmds:26836a by kenmcd. fixed common line filter --- diff --git a/130 b/130 index bbcc625f..4a615089 100755 --- a/130 +++ b/130 @@ -40,12 +40,12 @@ _cleanup() common_line_filter() { perl -ne 'if (/.*:(.*)/) { - if ( "$last_line" ne "$1" ) { print $_; $first_match=1; } + if ( "$last_line" ne "$1" ) { print "$_"; $first_match=1; } elsif ( $first_match==1 ) { print "*\n"; $first_match=0; } $last_line="$1"; } else { - print $_ + print $_; $last_line=$_; }' }