Penguin
Annotated edit history of basename(1) version 3, including all changes. View license author blame.
Rev Author # Line
1 perry 1 !!NAME
2
3 basename - strip directory and suffix from filenames
2 CraigBox 4
1 perry 5 !!SYNOPSIS
6
2 CraigBox 7 __basename__ ''NAME'' [[''SUFFIX'']__ %%%
3 CraigBox 8 __basename__ ''OPTION''
1 perry 9
10 !!DESCRIPTION
11
2 CraigBox 12 Print NAME with any leading directory components removed. If specified, also remove a trailing SUFFIX.
1 perry 13
2 CraigBox 14 ; __--help__ : display this help and exit
15 ; __--version__ : output version information and exit
1 perry 16
17
18 !!AUTHOR
2 CraigBox 19 Written by FIXME unknown.
1 perry 20
21 !!REPORTING BUGS
22
2 CraigBox 23 Report bugs to <bug-sh-utils@gnu.org>.
1 perry 24
25 !!COPYRIGHT
26
2 CraigBox 27 Copyright 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 perry 28
29 !!SEE ALSO
30
2 CraigBox 31 The full documentation for __basename__ is maintained as a Texinfo manual. If the __info__ and __basename__
32 programs are properly installed at your site, the command __info basename__ should give you access to the complete manual.
1 perry 33
2 CraigBox 34 If you want a utility that does the opposite of basename (takes a path and filename and returns you the path), see dirname(1).
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 7 times)