sbase

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

basename.1 (379B)


      1 .Dd 2015-10-08
      2 .Dt BASENAME 1
      3 .Os sbase
      4 .Sh NAME
      5 .Nm basename
      6 .Nd strip leading directory components of a path
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Ar path
     10 .Op Ar suffix
     11 .Sh DESCRIPTION
     12 .Nm
     13 writes
     14 .Ar path
     15 without leading directory components and
     16 .Ar suffix
     17 to stdout.
     18 .Sh SEE ALSO
     19 .Xr dirname 1 ,
     20 .Xr basename 3
     21 .Sh STANDARDS
     22 The
     23 .Nm
     24 utility is compliant with the
     25 .St -p1003.1-2013
     26 specification.