]> git.donarmstrong.com Git - perltidy.git/commitdiff
fix error message
authorSteve Hancock <perltidy@users.sourceforge.net>
Mon, 26 Sep 2022 17:14:23 +0000 (10:14 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Mon, 26 Sep 2022 17:14:23 +0000 (10:14 -0700)
dev-bin/perltidy_random_run.pl

index d9867047d529f969d74b08c5ac5a77e96b0af462..72c691f12deae4d3755fe9187a28445ca751096b 100755 (executable)
@@ -768,14 +768,17 @@ foreach my $line (@lines) {
 }
 close IN;
 close OUT;
+print STDERR "\n";
 my $gfile="nohup.my.grep";
 my $cmd1 = "grep 'Thank you' ERR.* >>$gfile";
 my $cmd2 = "grep 'Thank you' *.ERR >>$gfile";
 system ($cmd1);
 system ($cmd2);
-print STDERR "**$count problems seen in $nohup\n";
 if ($count) {
-    print STDERR "**please see $ofile\n";
+    print STDERR "**$count problems seen in $nohup. please see '$ofile'\n";
+}
+else {
+    print STDERR "$count problems seen in $nohup\n";
 }
 if (-s $gfile) {
    print STDERR "**please see $gfile\n";