19 lines
341 B
Groff
19 lines
341 B
Groff
.TH DIRNAME 1
|
|
.SH NAME
|
|
dirname \- strip filename suffix from pathname
|
|
.SH SYNOPSIS
|
|
.B dirname
|
|
path
|
|
.SH DESCRIPTION
|
|
This manual page
|
|
documents the GNU version of
|
|
.BR dirname .
|
|
.B dirname
|
|
prints the leading path part of the pathname
|
|
.IR path .
|
|
If
|
|
.I path
|
|
does not contain a leading path,
|
|
.B dirname
|
|
prints `.' (meaning the current directory).
|