2011-05-23 01:36:34 +00:00
|
|
|
.TH BASENAME 1 sbase\-VERSION
|
|
|
|
.SH NAME
|
|
|
|
basename \- strip directory from filename
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B basename
|
|
|
|
.I string
|
|
|
|
.RI [ suffix ]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B basename
|
2011-05-23 19:15:19 +00:00
|
|
|
prints the
|
2011-05-23 01:36:34 +00:00
|
|
|
.I string
|
|
|
|
with any leading directory components, and the
|
|
|
|
.IR suffix ,
|
|
|
|
removed.
|