sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 5be621dcf260f33f917eecb108772b762db25bb9
parent e7c33c4af3ee448c689d2e18c473a554c64a1f00
Author: FRIGN <dev@frign.de>
Date:   Sat, 28 Feb 2015 15:09:47 +0100

Refactor basename.1

Diffstat:
Mbasename.1 | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/basename.1 b/basename.1 @@ -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