dirname - strip filename suffix from pathname
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
d
\bdi
\bir
\brn
\bna
\bam
\bme
\be path
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
This manual page documents the GNU version of d
\bdi
\bir
\brn
\bna
\bam
\bme
\be.
d
\bdi
\bir
\brn
\bna
\bam
\bme
\be prints the leading path part of the pathname _
\bp_
\ba_
\bt_
\bh.
If _
\bp_
\ba_
\bt_
\bh does not contain a leading path, d
\bdi
\bir
\brn
\bna
\bam
\bme
\be prints
`.' (meaning the current directory).