NAME(名称)
dirname - 从文件名剥离非目录的后缀
SYNOPSIS(总览)
dirname NAME
dirname OPTION
DESCRIPTION(描述)
打印去除了/后面部分的NAME;如果NAME没有包含/,则输出`.'(表示当前目录).
- --help
- 显示帮助并退出
- --version
- 输出版本信息并退出
REPORTING BUGS(报告BUGS)
报告bugs请发到<bug-sh-utils@gnu.org>.
SEE ALSO(另见)
dirname 的完整文档是以Texinfo手册的形式维护的.如果你正确地安装了 info 和 dirname 程序,那么命令
- info dirname
应该可以让你访问到整个手册.
#p#
NAME
dirname - strip non-directory suffix from file name
SYNOPSIS
dirname NAME
dirname OPTION
DESCRIPTION
Print NAME with its trailing /component removed; if NAME contains no /'s, output `.' (meaning the current directory).
- --help
- display this help and exit
- --version
- output version information and exit
AUTHOR
Written by David MacKenzie and Jim Meyering.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
The full documentation for dirname is maintained as a Texinfo manual. If the info and dirname programs are properly installed at your site, the command
- info coreutils dirname
should give you access to the complete manual