diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2010-03-01 13:35:43 +0900 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2010-03-01 13:35:43 +0900 |
commit | c6977fe494c93ad5e0912d5107bd2b507fa02660 (patch) | |
tree | 27b98f2d615fe69236da6dd1d4631f558f8b5ce5 /txr.1 | |
parent | b0343914541131ecb7e4a47d685161ffbf79e05f (diff) | |
download | txr-c6977fe494c93ad5e0912d5107bd2b507fa02660.tar.gz txr-c6977fe494c93ad5e0912d5107bd2b507fa02660.tar.bz2 txr-c6977fe494c93ad5e0912d5107bd2b507fa02660.zip |
* txr.1: Fix inaccuracies: files are not read into memory all at
once, and a query doesn't execute if it had errors.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -204,10 +204,10 @@ file. .PP .B txr begins by reading the query. The entire query is scanned, internalized -and then begins executing. No file is opened until the query calls for a match -for material from that file, but once opened, a file is always read in its -entirety and stored in memory. A query may complete (successfully or not) -before opening some or all of the files. +and then begins executing, if it is free of syntax errors. The reading of +data, on the other hand, is lazy. A file isn't opened until the query demands +material from that file, and then the contents are read on demand, not all at +once. If no files arguments are specified on the command line, it is up to the query to open a file, pipe or standard input via the @(next) directive |