sbase/basename.1

15 lines
243 B
Groff
Raw Normal View History

2011-05-23 01:36:34 +00:00
.TH BASENAME 1 sbase\-VERSION
.SH NAME
2011-05-24 20:39:20 +00:00
basename \- strip leading path component
2011-05-23 01:36:34 +00:00
.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
2011-05-24 20:39:20 +00:00
with any leading path components, and the
2011-05-23 01:36:34 +00:00
.IR suffix ,
removed.