diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-11-29 13:27:11 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-11-29 13:27:11 -0500 |
| commit | 353a1a40173d4722809e2cad215ab734bf68b283 (patch) | |
| tree | 77055997b202fd028709af53ac13d8abd0a8c2ae /man/man3/tomo-Path.extension.3 | |
| parent | a0ea1840d837650b10ae4f9a3bb05ded08322510 (diff) | |
Improved manpages.
Diffstat (limited to 'man/man3/tomo-Path.extension.3')
| -rw-r--r-- | man/man3/tomo-Path.extension.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man3/tomo-Path.extension.3 b/man/man3/tomo-Path.extension.3 index f77f692a..71b65f77 100644 --- a/man/man3/tomo-Path.extension.3 +++ b/man/man3/tomo-Path.extension.3 @@ -2,7 +2,7 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Path.extension 3 2025-09-21 "Tomo man-pages" +.TH Path.extension 3 2025-11-29 "Tomo man-pages" .SH NAME Path.extension \- get file extension .SH LIBRARY @@ -23,7 +23,7 @@ lb lb lbx lb l l l l. Name Type Description Default path Path The path of the file. - -full Bool Whether to return everything after the first `.` in the base name, or only the last part of the extension. yes +full Bool Whether to return everything after the first \fB.\fR in the base name, or only the last part of the extension. yes .TE .SH RETURN The file extension (not including the leading `.`) or an empty text if there is no file extension. @@ -35,3 +35,5 @@ assert (./file.tar.gz).extension(full=no) == "gz" assert (/foo).extension() == "" assert (./.git).extension() == "" .EE +.SH SEE ALSO +.BR Tomo-Path (3) |
