summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-08 22:15:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2011-10-08 22:15:34 -0700
commit2e0a508e1306fcf63f4458b617d22639d89aae01 (patch)
treebb24b5ddaba13794956ff9680ad6ebee24035317 /txr.1
parentfebdeaea6766ecc3340f7e89c03f51b51efb601a (diff)
downloadtxr-2e0a508e1306fcf63f4458b617d22639d89aae01.tar.gz
txr-2e0a508e1306fcf63f4458b617d22639d89aae01.tar.bz2
txr-2e0a508e1306fcf63f4458b617d22639d89aae01.zip
* txr.1: Removed references to obsolete @(next) variant.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.117
1 files changed, 2 insertions, 15 deletions
diff --git a/txr.1 b/txr.1
index a7b004e8..22db7ce1 100644
--- a/txr.1
+++ b/txr.1
@@ -1095,26 +1095,13 @@ open the input source named by that argument. If the very first directive of a q
avoids opening the first input source, but it does open the input source for
any other directive, even one which does not consume any data.
-In the obsolescent second form, @(next) is followed by material on the same
-line, which may contain variables. All of the variables must be bound. For
-example:
-
- @(next)/path/to/@foo.txt
-
-The trailing material specifies gives the input source.
-The :nothrow behavior is implicit in this form. The syntax will
-disappear in some future version of
-.B txr
-.
-
-
Note that "remainder of the query" refers to the subquery in which
the next directive appears, not necessarily the entire query.
For example, the following query looks for the line starting with "xyz"
at the top of the file "foo.txt", within a some directive.
After the @(end) which terminates the @(some), the "abc" is matched in the
-current file.
+previous file again.
@(some)
@(next "foo.txt")
@@ -1124,7 +1111,7 @@ current file.
However, if the @(some) subquery successfully matched "xyz@suffix" within the
file foo.text, there is now a binding for the suffix variable, which
-is globally visible to the remainder of the entire query.
+is visible to the remainder of the entire query.
The @(next) directive supports the file name conventions as the command
line. The name - means standard input. Text which starts with a ! is