mirror of
git://git.suckless.org/sbase
synced 2024-12-25 16:32:37 +00:00
18 lines
290 B
Groff
18 lines
290 B
Groff
.TH BASENAME 1 sbase\-VERSION
|
|
.SH NAME
|
|
basename \- strip leading path component
|
|
.SH SYNOPSIS
|
|
.B basename
|
|
.I string
|
|
.RI [ suffix ]
|
|
.SH DESCRIPTION
|
|
.B basename
|
|
prints the
|
|
.I string
|
|
with any leading path components, and the
|
|
.IR suffix ,
|
|
removed.
|
|
.SH SEE ALSO
|
|
.IR dirname (1),
|
|
.IR basename (3)
|