sbase/basename.1

15 lines
249 B
Groff

.TH BASENAME 1 sbase\-VERSION
.SH NAME
basename \- strip directory from filename
.SH SYNOPSIS
.B basename
.I string
.RI [ suffix ]
.SH DESCRIPTION
.B basename
prints the
.I string
with any leading directory components, and the
.IR suffix ,
removed.