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
wwwanlingxiao
public-apis
Commits
6e1da9a1
Commit
6e1da9a1
authored
Jul 10, 2017
by
Dave Machado
Browse files
Initial skeleton of parsing text file
parent
184e4c3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/validate.rb
0 → 100755
View file @
6e1da9a1
#!/usr/bin/env ruby
args
=
ARGV
filename
=
args
[
0
]
File
.
foreach
(
filename
).
with_index
do
|
line
,
line_num
|
line_num
+=
1
puts
"
#{
line_num
}
:
#{
line
}
"
end
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