From: Jonathan Blake Date: Sat, 10 Feb 2018 23:16:19 +0000 (+0000) Subject: upating handling to current practices X-Git-Tag: 20180215~41 X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=commitdiff_plain;h=60ee1301c43c9bd1b8aa38a2426446a364d7eeab upating handling to current practices git-svn-id: https://projectaon.org/data/trunk@2657 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- diff --git a/common/scripts/gblint.pl b/common/scripts/gblint.pl index 85e5ced..136a272 100755 --- a/common/scripts/gblint.pl +++ b/common/scripts/gblint.pl @@ -235,7 +235,7 @@ while( my $line = <> ) { # ellipsis if( $line =~ /(\.\s*\.(\s*\.)?)/ ) { &printError( "ne", $currentSection, $lineNumber, "possible malformed ellipsis", "$1", " or " ); } - if( $line =~ m{([[:space:]])} || $line =~ m{([[:space:]])} ) { &printError( "ne", $currentSection, $lineNumber, " with extraneous surrounding space", "$1", "" ); } + if( $line =~ m{([[:space:]])}) { &printError( "ne", $currentSection, $lineNumber, " with extraneous surrounding space", "$1", "" ); } if( $line =~ m{([^>])()} ) { &printError( "ne", $currentSection, $lineNumber, "possible used in place of ", "$1$2", "$1" ); } if( $line =~ m{(>)} ) { &printError( "ne", $currentSection, $lineNumber, "possible used in place of ", "$1", ">" ); }