From 4ef69db8078d3baf01bbe797303741aa748b4ee0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Oct 2007 13:39:43 -0400 Subject: [PATCH] newline simplification --- mr | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mr b/mr index 1741812..5cdf9d4 100755 --- a/mr +++ b/mr @@ -224,7 +224,6 @@ foreach my $topdir (sort keys %config) { } my (@failed, @successful, @skipped); -my $first=1; foreach my $topdir (sort keys %config) { foreach my $subdir (sort keys %{$config{$topdir}}) { next if $subdir eq 'default'; @@ -299,8 +298,7 @@ sub action { push @successful, $dir; } - print "\n" unless $first; - $first=0; + print "\n"; } } @@ -313,7 +311,6 @@ sub showstat { } return; } -print "\n" unless $first; print "mr $action: finished (".join("; ", showstat($#successful+1, "successful", "successful"), showstat($#failed+1, "failed", "failed"), -- 2.39.5