From: Joey Hess Date: Thu, 11 Oct 2007 17:11:42 +0000 (-0400) Subject: clean up extra newlines X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/f3e4e5d7a71887dbaa32d33a2e3b376b311fa1a8?ds=inline clean up extra newlines --- 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"),