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"
4 basename \- strip directory and suffix from filenames
7 \fINAME \fR[\fISUFFIX\fR]
12 .\" Add any additional description here
14 Print NAME with any leading directory components removed.
15 If specified, also remove a trailing SUFFIX.
18 display this help and exit
21 output version information and exit
24 basename /usr/bin/sort
27 basename include/stdio.h .h
30 Written by FIXME unknown.
32 Report bugs to <bug\-coreutils@gnu.org>.
34 Copyright \(co 2007 Free Software Foundation, Inc.
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.
40 dirname(1), readlink(1)
42 The full documentation for
44 is maintained as a Texinfo manual. If the
48 programs are properly installed at your site, the command
52 should give you access to the complete manual.