.TH DIRNAME 1 sbase\-VERSION .SH NAME dirname \- strip final path component .SH SYNOPSIS .B dirname .I string .SH DESCRIPTION .B dirname prints the .I string with its final path component removed.