sbase

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

commit bb88aa471bde2c918be1a3adbf3e89bbff6e2124
parent 2d685482afbb89570f0b62b0e0a6006228fe5d27
Author: sin <sin@2f30.org>
Date:   Fri Nov 21 12:15:07 +0000

Update basename manpage

Diffstat:
basename.1 | 37+++++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 14 deletions(-)
diff --git a/basename.1 b/basename.1 @@ -1,17 +1,26 @@ -.TH BASENAME 1 sbase\-VERSION -.SH NAME -basename \- strip leading path component -.SH SYNOPSIS -.B basename -.I string -.RI [ suffix ] -.SH DESCRIPTION -.B basename +.Dd November 21, 2014 +.Dt BASENAME 1 sbase\-VERSION +.Os +.Sh NAME +.Nm basename +.Nd strip leading path component +.Sh SYNOPSIS +.Nm basename +.Ar string +.Op Ar suffix +.Sh DESCRIPTION +.Nm prints the -.I string +.Ar string with any leading path components, and the -.IR suffix , +.Ar suffix , removed. -.SH SEE ALSO -.IR dirname (1), -.IR basename (3) +.Sh SEE ALSO +.Xr dirname 1 , +.Xr basename 3 +.Sh STANDARDS +The +.Nm +utility is compliant with the +.St -p1003.1-2008 +specification.