diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-10 21:57:18 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-10 23:45:29 +0200 |
commit | 5e37b67067252cfdd4440b28f7992f7051748fd5 (patch) | |
tree | cab769c2324b85853710071fb2f57eda8e22d743 /doc/ref/guile/util-path.texi | |
parent | Reorder (util .*) tests. (diff) | |
download | calp-5e37b67067252cfdd4440b28f7992f7051748fd5.tar.gz calp-5e37b67067252cfdd4440b28f7992f7051748fd5.tar.xz |
Minor touchup of (hnh util) documentation.
Diffstat (limited to 'doc/ref/guile/util-path.texi')
-rw-r--r-- | doc/ref/guile/util-path.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/ref/guile/util-path.texi b/doc/ref/guile/util-path.texi index cf99a170..9cf41b40 100644 --- a/doc/ref/guile/util-path.texi +++ b/doc/ref/guile/util-path.texi @@ -36,7 +36,13 @@ The first component will be @code{""} if path is absolute. @defun filename-extension filename -Returns the extension of the filename, or the empty string if none exists. +Returns the extension of the filename without a leading period, or the +empty string if none exists. + +@example +(filename-extension "file.tar.gz") +⇒ "gz" +@end example @end defun @defun realpath path |