From: Steve Hancock Date: Mon, 26 Sep 2022 17:14:23 +0000 (-0700) Subject: fix error message X-Git-Tag: 20220613.06~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ae3aa1c44adeaa0585444bd1d3db2c99207bf31e;p=perltidy.git fix error message --- diff --git a/dev-bin/perltidy_random_run.pl b/dev-bin/perltidy_random_run.pl index d9867047..72c691f1 100755 --- a/dev-bin/perltidy_random_run.pl +++ b/dev-bin/perltidy_random_run.pl @@ -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";