From 60ee1301c43c9bd1b8aa38a2426446a364d7eeab Mon Sep 17 00:00:00 2001 From: Jonathan Blake Date: Sat, 10 Feb 2018 23:16:19 +0000 Subject: [PATCH] upating handling to current practices git-svn-id: https://projectaon.org/data/trunk@2657 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- common/scripts/gblint.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", ">" ); } -- 2.17.1