summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.113
1 files changed, 12 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index ae2f3563..c46a07a5 100644
--- a/txr.1
+++ b/txr.1
@@ -48234,7 +48234,7 @@ Examples of strings which are not pure relative paths:
.coNP Functions @ dir-name and @ base-name
.synb
.mets (dir-name << path )
-.mets (base-name << path )
+.mets (base-name < path <> [ suffix ])
.syne
.desc
The
@@ -48300,6 +48300,17 @@ The
function returns the remaining part of the effective path, after
the raw directory prefix.
+If the
+.meta suffix
+argument is given to
+.codn base-name ,
+then the returned base name is adjusted as follows. If the base
+name ends in
+.meta suffix
+then a trimmed version of the base name is returned instead, with that suffix
+removed. This adjustment isn't performed if it would result in an empty
+string being returned.
+
.coNP Function @ path-cat
.synb
.mets (path-cat < dir-path << rel-path )