aboutsummaryrefslogtreecommitdiff
path: root/basename.1
diff options
context:
space:
mode:
Diffstat (limited to 'basename.1')
-rw-r--r--basename.132
1 files changed, 32 insertions, 0 deletions
diff --git a/basename.1 b/basename.1
new file mode 100644
index 0000000..75cdb87
--- /dev/null
+++ b/basename.1
@@ -0,0 +1,32 @@
+BASENAME(1) "fases core"
+
+# NAME
+
+basename \- Return non-directory portion of a pathname
+
+# SYNOPSIS
+
+*basename* _string_ [*suffix*]
+
+# DESCRIPTION
+
+Return non-directory portion of the *string* pathname.
+
+# EXAMPLES
+
+*basename /bin/sh*
+ Return non-directory portion ("sh").
+
+*basename /usr/bin/basename name*
+ Remove the suffix "name" from "basename" and return "base".
+
+# AUTHOR
+
+Written by Ferass EL HAFIDI as part of the fases
+project.
+
+Source code is at http://git.vitali64.duckdns.org/utils/fases.git.
+
+# COPYRIGHT
+
+Copyright (C) 2022 Ferass EL HAFIDI