summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-08 06:32:16 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-08 06:32:16 -0800
commit8e0a45447e5a610b44ad0d95f23fd6ab06ef3585 (patch)
tree243005be148a9e669d92a16d5dff349ffedf1db2
parentdef7e81c542cea45a73146bd8e59566399bc87ce (diff)
downloadtxr-8e0a45447e5a610b44ad0d95f23fd6ab06ef3585.tar.gz
txr-8e0a45447e5a610b44ad0d95f23fd6ab06ef3585.tar.bz2
txr-8e0a45447e5a610b44ad0d95f23fd6ab06ef3585.zip
Fixes under Consecutive Variables
* txr.1: Tense agreement, clarification. Italicize de facto.
-rw-r--r--txr.116
1 files changed, 9 insertions, 7 deletions
diff --git a/txr.1 b/txr.1
index c257c479..44567959 100644
--- a/txr.1
+++ b/txr.1
@@ -1572,16 +1572,16 @@ The entire sequence
is considered.
.NP* Consecutive Variables
-If an unbound variable specified a fixed-width match or a regular expression,
+If an unbound variable specifies a fixed-width match or a regular expression,
then the issue of consecutive variables does not arise. Such a variable
consumes text regardless of any context which follows it.
However, what if an unbound variable with no modifier is followed by another
variable? The behavior depends on the nature of the other variable.
-If the other variable also has no modifier, this is a semantic error which
-will cause the query to fail. A diagnostic message will be issued, unless
-operating in quiet mode via
+If the other variable is also unbound, and also has no modifier, this is a
+semantic error which will cause the query to fail. A diagnostic message will
+be issued, unless operating in quiet mode via
.codn -q .
The reason is that there is no way to bind two
consecutive variables to an extent of text; this is an ambiguous situation,
@@ -1593,8 +1593,8 @@ only in the case when it contains an even number of characters. This behavior
seems to have dubious value).
An unbound variable may be followed by one which is bound. The bound
-variable is replaced by the text which it denotes, and the logic proceeds
-accordingly.
+variable is effectively replaced by the text which it denotes, and the logic
+proceeds accordingly.
It is possible for a variable to be bound to a regular expression.
If
@@ -1680,7 +1680,9 @@ Examples:
.PP
.NP* Consecutive Variables Via Directive
-Two variables can be de facto consecutive in a manner shown in the
+Two variables can be
+.I de facto
+consecutive in a manner shown in the
following example:
.cblk