OSDN Git Service

GNU_coreutils: Add a directory for a new translation.
[linuxjm/coreutils.git] / original / man1 / dirname.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH DIRNAME "1" "April 2010" "GNU coreutils 8.5" "User Commands"
3 .SH NAME
4 dirname \- strip last component from file name
5 .SH SYNOPSIS
6 .B dirname
7 \fINAME\fR
8 .br
9 .B dirname
10 \fIOPTION\fR
11 .SH DESCRIPTION
12 .\" Add any additional description here
13 .PP
14 Print NAME with its trailing /component removed; if NAME contains no /'s,
15 output `.' (meaning the current directory).
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/sort
25 Output "/usr/bin".
26 .TP
27 dirname stdio.h
28 Output ".".
29 .SH AUTHOR
30 Written by David MacKenzie and Jim Meyering.
31 .SH "REPORTING BUGS"
32 Report dirname bugs to bug\-coreutils@gnu.org
33 .br
34 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
35 .br
36 General help using GNU software: <http://www.gnu.org/gethelp/>
37 .br
38 Report dirname translation bugs to <http://translationproject.org/team/>
39 .SH COPYRIGHT
40 Copyright \(co 2010 Free Software Foundation, Inc.
41 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
42 .br
43 This is free software: you are free to change and redistribute it.
44 There is NO WARRANTY, to the extent permitted by law.
45 .SH "SEE ALSO"
46 basename(1), readlink(1)
47 .PP
48 The full documentation for
49 .B dirname
50 is maintained as a Texinfo manual.  If the
51 .B info
52 and
53 .B dirname
54 programs are properly installed at your site, the command
55 .IP
56 .B info coreutils \(aqdirname invocation\(aq
57 .PP
58 should give you access to the complete manual.