Refactor basename.1

This commit is contained in:
FRIGN 2015-02-28 15:09:47 +01:00
parent e7c33c4af3
commit 5be621dcf2

View File

@ -1,19 +1,20 @@
.Dd November 21, 2014
.Dd February 28, 2015
.Dt BASENAME 1
.Os sbase
.Sh NAME
.Nm basename
.Nd strip leading path components
.Nd strip leading directory components of a path
.Sh SYNOPSIS
.Nm
.Ar path
.Op Ar suffix
.Sh DESCRIPTION
.Nm
prints the
writes
.Ar path
without leading path components and
.Ar suffix .
without leading directory components and
.Ar suffix
to stdout.
.Sh SEE ALSO
.Xr dirname 1 ,
.Xr basename 3