Tizen 2.0 Release
[external/tizen-coreutils.git] / man / dirname.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH DIRNAME "1" "March 2007" "GNU coreutils 6.9" "User Commands"
3 .SH NAME
4 dirname \- strip non-directory suffix 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 bugs to <bug\-coreutils@gnu.org>.
33 .SH COPYRIGHT
34 Copyright \(co 2007 Free Software Foundation, Inc.
35 .br
36 This is free software.  You may redistribute copies of it under the terms of
37 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
38 There is NO WARRANTY, to the extent permitted by law.
39 .SH "SEE ALSO"
40 basename(1), readlink(1)
41 .PP
42 The full documentation for
43 .B dirname
44 is maintained as a Texinfo manual.  If the
45 .B info
46 and
47 .B dirname
48 programs are properly installed at your site, the command
49 .IP
50 .B info dirname
51 .PP
52 should give you access to the complete manual.