Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Spencer
wiaflos
Commits
32d27ce1
Commit
32d27ce1
authored
Nov 28, 2016
by
Nigel Kukard
Browse files
Merge branch 'nkloadfile' into 'master'
Fix line numbering See merge request
!17
parents
dc13b130
326afc0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
wiaflos/client/cmdline.pm
View file @
32d27ce1
...
...
@@ -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
>
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment