sbase/basename.1

18 lines
290 B
Groff
Raw Normal View History

2011-05-22 21:36:34 -04:00
.TH BASENAME 1 sbase\-VERSION
.SH NAME
2011-05-24 16:39:20 -04:00
basename \- strip leading path component
2011-05-22 21:36:34 -04:00
.SH SYNOPSIS
.B basename
.I string
.RI [ suffix ]
.SH DESCRIPTION
.B basename
2011-05-23 15:15:19 -04:00
prints the
2011-05-22 21:36:34 -04:00
.I string
2011-05-24 16:39:20 -04:00
with any leading path components, and the
2011-05-22 21:36:34 -04:00
.IR suffix ,
removed.
2011-05-25 13:29:46 -04:00
.SH SEE ALSO
2011-05-26 13:18:42 -04:00
.IR dirname (1),
2011-05-25 13:29:46 -04:00
.IR basename (3)