OSDN Git Service

GNU_coreutils: Update originals to version 8.16.
[linuxjm/jm.git] / manual / GNU_coreutils / original / man1 / dirname.1
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"
3 .SH NAME
4 dirname \- strip last component from file name
5 .SH SYNOPSIS
6 .B dirname
7 [\fIOPTION\fR] \fINAME\fR...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
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).
13 .TP
14 \fB\-z\fR, \fB\-\-zero\fR
15 separate output with NUL rather than newline
16 .TP
17 \fB\-\-help\fR
18 display this help and exit
19 .TP
20 \fB\-\-version\fR
21 output version information and exit
22 .SH EXAMPLES
23 .TP
24 dirname /usr/bin/
25 \-> "/usr"
26 .TP
27 dirname dir1/str dir2/str
28 \-> "dir1" followed by "dir2"
29 .TP
30 dirname stdio.h
31 \-> "."
32 .SH AUTHOR
33 Written by David MacKenzie and Jim Meyering.
34 .SH "REPORTING BUGS"
35 Report dirname bugs to bug\-coreutils@gnu.org
36 .br
37 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
38 .br
39 General help using GNU software: <http://www.gnu.org/gethelp/>
40 .br
41 Report dirname translation bugs to <http://translationproject.org/team/>
42 .SH COPYRIGHT
43 Copyright \(co 2012 Free Software Foundation, Inc.
44 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
45 .br
46 This is free software: you are free to change and redistribute it.
47 There is NO WARRANTY, to the extent permitted by law.
48 .SH "SEE ALSO"
49 basename(1), readlink(1)
50 .PP
51 The full documentation for
52 .B dirname
53 is maintained as a Texinfo manual.  If the
54 .B info
55 and
56 .B dirname
57 programs are properly installed at your site, the command
58 .IP
59 .B info coreutils \(aqdirname invocation\(aq
60 .PP
61 should give you access to the complete manual.