dirname, basename: refer to each other (#23319)

This commit is contained in:
Managor
2026-07-27 12:45:52 +07:00
committed by GitHub
parent 0ffcebbaad
commit a555c8698c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
# basename
> Remove leading directory portions from a path.
> See also: `dirname`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/basename-invocation.html>.
- Show only the file name from a path:
+1
View File
@@ -1,6 +1,7 @@
# dirname
> Remove trailing filename portion from a path.
> See also: `basename`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/dirname-invocation.html>.
- Calculate the parent directory of a given path: