mirror of git://git.suckless.org/sbase
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)
|