From ecaf142d3d70630a0d7f028d334b5339ff2b996d Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 4 Dec 2013 18:20:32 +0530 Subject: benchtests: skip over blank lines in benchmark input files --- scripts/bench.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/bench.pl b/scripts/bench.pl index 492ab81..6ad93fa 100755 --- a/scripts/bench.pl +++ b/scripts/bench.pl @@ -83,8 +83,8 @@ LINE:while () { } } - # Skip over comments. - if (/^#/) { + # Skip over comments and blank lines. + if (/^#/ || /^$/) { next LINE; } push (@curvals, $_); -- cgit v1.1