.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH DIRNAME 1 2020年三月 "GNU coreutils 8.32" 用戶命令
.SH 名稱
dirname \- 去除文件名的最後一個組成部分
.SH 概述
\fBdirname\fP [\fI\,選項\/\fP] \fI\,名稱\/\fP...
.SH 描述
.\" Add any additional description here
.PP
將每個名稱的最後一個非斜線的組成部分與後綴的斜線移除並輸出;如果所給名稱不包含斜線 '/',則輸出 '.'(即代表當前目錄)。
.TP
\fB\-z\fP, \fB\-\-zero\fP
使每行輸出以 NUL 字符結束,不添加換行符
.TP
\fB\-\-help\fP
顯示此幫助信息並退出
.TP
\fB\-\-version\fP
顯示版本信息並退出
.SH 範例
.TP
dirname /usr/bin/
\-> "/usr"
.TP
dirname dir1/str dir2/str
\-> "dir1" 後接 "dir2"
.TP
dirname stdio.h
\-> "."
.SH 作者
由 David MacKenzie 和 Jim Meyering 編寫。
.SH 報告錯誤
GNU coreutils 的在線幫助:
.br
請向 報告翻譯錯誤。
.SH 版權
Copyright \(co 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL
version 3 or later .
.br
This is free software: you are free to change and redistribute it. There is
NO WARRANTY, to the extent permitted by law.
.SH 參見
basename(1), readlink(1)
.PP
.br
完整文檔請見:
.br
或者在本地使用: info \(aq(coreutils) dirname invocation\(aq
.SH "跋"
.br
本頁面中文版由中文 man 手冊頁計劃提供。
.br
中文 man 手冊頁計劃:\fBhttps://github.com/man-pages-zh/manpages-zh\fR