From f3e4e5d7a71887dbaa32d33a2e3b376b311fa1a8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Oct 2007 13:11:42 -0400 Subject: [PATCH] clean up extra newlines --- mr | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mr b/mr index 577fa85..f26b144 100755 --- a/mr +++ b/mr @@ -216,9 +216,6 @@ foreach my $topdir (sort keys %config) { next; } - print "\n" unless $first; - $first=0; - action($action, $dir, $topdir, $subdir); } @@ -281,6 +278,9 @@ sub action { else { push @successful, $dir; } + + print "\n" unless $first; + $first=0; } } @@ -293,7 +293,8 @@ sub showstat { } return; } -print "\nmr $action: finished (".join("; ", +print "\n" unless $first; +print "mr $action: finished (".join("; ", showstat($#successful+1, "successful", "successful"), showstat($#failed+1, "failed", "failed"), showstat($#skipped+1, "skipped", "skipped"), -- 2.39.5