소스 검색

Initial skeleton of parsing text file

pull/385/head
Dave Machado 6 년 전
부모
커밋
6e1da9a1a3
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. +9
    -0
      build/validate.rb

+ 9
- 0
build/validate.rb 파일 보기

@@ -0,0 +1,9 @@
#!/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

불러오는 중...
취소
저장