From: Joey Hess Date: Thu, 11 Oct 2007 17:39:43 +0000 (-0400) Subject: newline simplification X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/4ef69db8078d3baf01bbe797303741aa748b4ee0 newline simplification --- 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"),