From 5be621dcf260f33f917eecb108772b762db25bb9 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Sat, 28 Feb 2015 15:09:47 +0100 Subject: [PATCH] Refactor basename.1 --- basename.1 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/basename.1 b/basename.1 index 7b2cf2a..75e5bd3 100644 --- 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