next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: scanLines

scanLines -- apply a function to each line of a file

Synopsis

Description

The file is read and processed one block at a time, making this procedure potentially much better at conserving memory than scan(lines get fn,f) when the file is very large.

Ways to use scanLines :