Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method Stdio.File()->line_iterator()


Method line_iterator

String.SplitIterator|LineIterator line_iterator(int|void trim)

Description

Returns an iterator that will loop over the lines in this file. If trim is true, all '\r' characters will be removed from the input.