Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby read file line by line

File.readlines('foo').each do |line|
	puts line
end
 
PREVIOUS NEXT
Tagged: #ruby #read #file #line #line
ADD COMMENT
Topic
Name
5+2 =