diff options
author | Paul A. Patience <paul@apatience.com> | 2021-07-03 12:43:27 -0400 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-03 13:48:46 -0700 |
commit | 9b07c2f1dbc7a1c8377887a6159af2f90ca9a4f3 (patch) | |
tree | 2fc8d3c505632f0f74f334b90413618f4be548bc /txr.1 | |
parent | 7e143af86f72595a6e1280cabfd4a85839279a73 (diff) | |
download | txr-9b07c2f1dbc7a1c8377887a6159af2f90ca9a4f3.tar.gz txr-9b07c2f1dbc7a1c8377887a6159af2f90ca9a4f3.tar.bz2 txr-9b07c2f1dbc7a1c8377887a6159af2f90ca9a4f3.zip |
doc: fix description and example of suffix funs
* txr.1: The suffix of path "abc." is ".". Fix the description for this
case (which suggested the suffix was the empty string, which was the
case before commit bf2e5199e8dbc4e6fd4fcac5dab1ea16f4ec5970) and one of
the examples.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57418,7 +57418,7 @@ the delimiter for the short suffix is the rightmost period. If the delimiting period is the rightmost character of .metn path , or occurs immediately before a trailing path separator, -then the suffix delimited by that period is the empty string. +then the suffix delimited by that period is the period itself. If .meta path @@ -57456,7 +57456,7 @@ extracted from this last component. (long-suffix "abc") -> nil (long-suffix ".abc") -> nil (long-suffix "/.abc") -> nil - (long-suffix "abc.") -> "" + (long-suffix "abc.") -> "." (long-suffix "abc.tar") -> ".tar" (long-suffix "abc.tar.gz") -> ".tar.gz" (long-suffix "abc.tar.gz/") -> ".tar.gz" |