Penguin
Annotated edit history of dirname(1) version 3, including all changes. View license author blame.
Rev Author # Line
1 perry 1 !!NAME
2
3 dirname - strip non-directory suffix from file name
3 CraigBox 4
1 perry 5 !!SYNOPSIS
3 CraigBox 6 __dirname__ ''NAME'' %%%
7 __dirname__ ''OPTION''
1 perry 8
9 !!DESCRIPTION
10
3 CraigBox 11 Print NAME with its trailing /component removed; if NAME contains no /'s, output `.' (meaning the current directory).
1 perry 12
3 CraigBox 13 ; __--help__ : display this help and exit
14 ; __--version__ : output version information and exit
1 perry 15
16 !!AUTHOR
17
3 CraigBox 18 Written by David !MacKenzie and Jim Meyering.
1 perry 19
2 perry 20 !!REPORTING BUGS
1 perry 21
3 CraigBox 22 Report bugs to <bug-sh-utils@gnu.org>
1 perry 23
24 !!COPYRIGHT
25
3 CraigBox 26 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 27
28 !!SEE ALSO
29
3 CraigBox 30 The full documentation for __dirname__ is maintained as a Texinfo manual. If the __info__ and __dirname__ programs are properly installed at your site, the command __info dirname__ should give you access to the complete manual.
1 perry 31
3 CraigBox 32 dirname(1) is the 'opposite' of basename(1) - given a path and a filename (/foo/bar/baz), basename will give you 'baz' and dirname will give you /foo/bar/.
1 perry 33 ----
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)