Refactor basename.1
This commit is contained in:
parent
e7c33c4af3
commit
5be621dcf2
11
basename.1
11
basename.1
|
@ -1,19 +1,20 @@
|
||||||
.Dd November 21, 2014
|
.Dd February 28, 2015
|
||||||
.Dt BASENAME 1
|
.Dt BASENAME 1
|
||||||
.Os sbase
|
.Os sbase
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm basename
|
.Nm basename
|
||||||
.Nd strip leading path components
|
.Nd strip leading directory components of a path
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Ar path
|
.Ar path
|
||||||
.Op Ar suffix
|
.Op Ar suffix
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
prints the
|
writes
|
||||||
.Ar path
|
.Ar path
|
||||||
without leading path components and
|
without leading directory components and
|
||||||
.Ar suffix .
|
.Ar suffix
|
||||||
|
to stdout.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr dirname 1 ,
|
.Xr dirname 1 ,
|
||||||
.Xr basename 3
|
.Xr basename 3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user