Commit 32d27ce1 authored by Nigel Kukard's avatar Nigel Kukard

Merge branch 'nkloadfile' into 'master'

Fix line numbering

See merge request !17
parents dc13b130 326afc0d
Pipeline #461 passed with stages
in 40 seconds
......@@ -220,6 +220,10 @@ sub loadFile
# Reset back to beginning of file and re-read
seek($FH,0,0);
# Reset line counter (NK: UNDOCUMENTED)
$FH->input_line_number(0);
# Loop again with each line number
my $line_current = 0;
my $percent_last = "";
while (my $cmdline = <$FH>) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment