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 | 1379dfa1420db38482c3e64b9217be6777b4a05d (patch) | |
tree | 2fc8d3c505632f0f74f334b90413618f4be548bc | |
parent | 8454416e6b0cf25876237bd60de9e0bdeead0896 (diff) | |
download | txr-1379dfa1420db38482c3e64b9217be6777b4a05d.tar.gz txr-1379dfa1420db38482c3e64b9217be6777b4a05d.tar.bz2 txr-1379dfa1420db38482c3e64b9217be6777b4a05d.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 45e1c6531c4187a6273483bbe63bc1f549fd6ff8) and one of
the examples.
-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" |