.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH DIRNAME 1 2022年9月 "GNU coreutils 9.1" 使用者命令 .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 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br 本軟體是自由軟體:您可以自由修改和重新發布它。在法律允許的範圍內,不提供任何保證。 .SH 參見 \fBbasename\fP(1), \fBreadlink\fP(1) .PP .br 完整文件請見: .br 或者在本地使用: info \(aq(coreutils) dirname invocation\(aq .SH "跋" .br 本頁面中文版由中文 man 手冊頁計劃提供。 .br 中文 man 手冊頁計劃:\fBhttps://github.com/man-pages-zh/manpages-zh\fR