chickadee » chicken » io » read-lines

read-lines #!optional PORT MAXprocedure

Read MAX or fewer lines from PORT. MAX defaults to most-positive-fixnum and PORT defaults to the value of (current-input-port). Returns a list of strings, each string representing a line read, not including any line separation character(s).