.TH DIRNAME 1 sbase\-VERSION .SH NAME dirname \- strip final path component .SH SYNOPSIS .B dirname .I pathname .SH DESCRIPTION .B dirname prints the .I pathname with its final path component removed. .SH SEE ALSO .IR basename (1), .IR dirname (3)