aboutsummaryrefslogtreecommitdiff
path: root/man/basename.1
blob: e3dbdb50fadd906e662c0b6e2a0d4ab83bdab6d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.TH BASENAME 1 2022-07-10 Ferass'\ Base\ System.
.SH NAME
basename \- Return non-directory portion of a pathname
.SH SYNOPSIS
.B basename
.RB < STRING >
.RB [ SUFFIX ]
.SH DESCRIPTION
Return non-directory portion of the STRING pathname.
.SH EXAMPLES
.TP
.B basename /bin/sh
Return non-directory portion ("sh").
.TP
.B basename /usr/bin/basename name
Remove the suffix "name" from "basename" and return "base".
.SH AUTHOR
Written by Ferass EL HAFIDI as part of the fases 
project \- Ferass' Base System.
.P
Source code is at http://git.vitali64.duckdns.org/utils/fases.git.
.SH COPYRIGHT
.P
Copyright (C) 2022 Ferass EL HAFIDI