1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH DIRNAME "1" "March 2012" "GNU coreutils 8.16" "User Commands"
4 dirname \- strip last component from file name
7 [\fIOPTION\fR] \fINAME\fR...
9 .\" Add any additional description here
11 Output each NAME with its last non\-slash component and trailing slashes
12 removed; if NAME contains no /'s, output '.' (meaning the current directory).
14 \fB\-z\fR, \fB\-\-zero\fR
15 separate output with NUL rather than newline
18 display this help and exit
21 output version information and exit
27 dirname dir1/str dir2/str
28 \-> "dir1" followed by "dir2"
33 Written by David MacKenzie and Jim Meyering.
35 Report dirname bugs to bug\-coreutils@gnu.org
37 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
39 General help using GNU software: <http://www.gnu.org/gethelp/>
41 Report dirname translation bugs to <http://translationproject.org/team/>
43 Copyright \(co 2012 Free Software Foundation, Inc.
44 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
46 This is free software: you are free to change and redistribute it.
47 There is NO WARRANTY, to the extent permitted by law.
49 basename(1), readlink(1)
51 The full documentation for
53 is maintained as a Texinfo manual. If the
57 programs are properly installed at your site, the command
59 .B info coreutils \(aqdirname invocation\(aq
61 should give you access to the complete manual.