basename.1 (397B)
1 .Dd November 21, 2014 2 .Dt BASENAME 1 sbase\-VERSION 3 .Os 4 .Sh NAME 5 .Nm basename 6 .Nd strip leading path component 7 .Sh SYNOPSIS 8 .Nm basename 9 .Ar string 10 .Op Ar suffix 11 .Sh DESCRIPTION 12 .Nm 13 prints the 14 .Ar string 15 with any leading path components, and the 16 .Ar suffix , 17 removed. 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-2008 26 specification.