sbase/basename.1

15 lines
259 B
Groff
Raw Normal View History

2011-05-22 21:36:34 -04: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
prints to stdout the
.I string
with any leading directory components, and the
.IR suffix ,
removed.