summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-07-12 22:01:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-07-12 22:01:17 -0700
commit7513cce876df146917eb747a31e1a3f44344f4bb (patch)
treec3572c232c2675d3fae519b01a975cfaad2af477 /txr.1
parent209e81e4a643db09e5c1645b5fb7568b12e7360b (diff)
downloadtxr-7513cce876df146917eb747a31e1a3f44344f4bb.tar.gz
txr-7513cce876df146917eb747a31e1a3f44344f4bb.tar.bz2
txr-7513cce876df146917eb747a31e1a3f44344f4bb.zip
Version 67
* txr.c (version): Bumped. * txr.1: Bumped version, set date and documented string-cmp. * configure (txr_ver): Bumped. * eval.c (eval_init): Forgotten string-cmp registered as intrinsic. * txr.vim: Highlighting for string-cmp. * RELNOTES: Updated.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.127
1 files changed, 25 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index 45dad773..5935fb4a 100644
--- a/txr.1
+++ b/txr.1
@@ -21,9 +21,9 @@
.\"IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\"WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-.TH "TXR" 1 2013-05-16 "Utility Commands" "Txr Text Processing Language" "Kaz Kylheku"
+.TH "TXR" 1 2013-07-12 "Utility Commands" "Txr Text Processing Language" "Kaz Kylheku"
.SH NAME
-txr \- text processing language (version 66)
+txr \- text processing language (version 67)
.SH SYNOPSIS
.B txr [ options ] query-file { data-file }*
.sp
@@ -8178,6 +8178,29 @@ These functions can be used to test such as string whether it is longer
or shorter than a given length, without forcing the string beyond
that length.
+.SS Function string-cmp
+
+.TP
+Syntax:
+
+ (string-cmp <left-string> <right-string>)
+
+.TP
+Semantics:
+
+The string-cmp function returns a negative integer if <left-string>
+is lexicographically prior to <right-string>, and a positive integer
+if the reverse situation is the case. Otherwise the strings are equal
+and zero is returned.
+
+If either or both of the strings are lazy, then they are only forced to the
+minimum extent necessary for the function to reach a conclusion and return the
+appropriate value, since there is no need to look beyond the first character
+position in which they differ.
+
+The lexicographic ordering is naive, based on the character code point
+values in Unicode taken as integers, without regard for locale-specific
+collation orders.
.SH VECTORS