OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / original / man1 / dirname.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
2 .TH DIRNAME "1" "January 2016" "GNU coreutils 8.25" "User Commands"
3 .SH NAME
4 dirname \- strip last component from file name
5 .SH SYNOPSIS
6 .B dirname
7 [\fI\,OPTION\/\fR] \fI\,NAME\/\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 end each output line with NUL, not 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 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
36 .br
37 Report dirname translation bugs to <http://translationproject.org/team/>
38 .SH COPYRIGHT
39 Copyright \(co 2016 Free Software Foundation, Inc.
40 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
41 .br
42 This is free software: you are free to change and redistribute it.
43 There is NO WARRANTY, to the extent permitted by law.
44 .SH "SEE ALSO"
45 basename(1), readlink(1)
46 .PP
47 .br
48 Full documentation at: <http://www.gnu.org/software/coreutils/dirname>
49 .br
50 or available locally via: info \(aq(coreutils) dirname invocation\(aq