Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I also feel that it would add to the answer if you were to add a way to output it to a file; maybe as it's being generated so it doesn't destroy your RAM, or after it's all cached in ram Commented Oct 23, 2015 at 5:07
  • 3
    @Hellreaver, they all write to a file (to stdout, whatever file that is open to; if run in a terminal, a device file like /dev/pts/something; and you can change that with shell redirection operator), not memory, but the first one builds the whole output in memory before outputting it (to the file open on stdout). Commented Oct 23, 2015 at 6:09