Tizen 2.0 Release
[external/tizen-coreutils.git] / man / basename.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH BASENAME "1" "March 2007" "GNU coreutils 6.9" "User Commands"
3 .SH NAME
4 basename \- strip directory and suffix from filenames
5 .SH SYNOPSIS
6 .B basename
7 \fINAME \fR[\fISUFFIX\fR]
8 .br
9 .B basename
10 \fIOPTION\fR
11 .SH DESCRIPTION
12 .\" Add any additional description here
13 .PP
14 Print NAME with any leading directory components removed.
15 If specified, also remove a trailing SUFFIX.
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 basename /usr/bin/sort
25 Output "sort".
26 .TP
27 basename include/stdio.h .h
28 Output "stdio".
29 .SH AUTHOR
30 Written by FIXME unknown.
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 dirname(1), readlink(1)
41 .PP
42 The full documentation for
43 .B basename
44 is maintained as a Texinfo manual.  If the
45 .B info
46 and
47 .B basename
48 programs are properly installed at your site, the command
49 .IP
50 .B info basename
51 .PP
52 should give you access to the complete manual.