dirname - print the directory name of a path
dirname prints the directory component of a path. Everything starting from the last / (or whatever the path separator is on your OS) is deleted.
dirname does not accept any options.
The working of dirname is not influenced by any environment variables.
dirname has no known bugs.
This dirname implementation is compliant with the IEEE Std1003.2-1992 specification, also known as POSIX.2.
This bdirame implementation is compatible with the OpenBSD implementation.
$Log: dirname,v $ Revision 1.2 2004/08/05 14:17:43 cwest cleanup, new version number on website Revision 1.1 2004/07/23 20:10:03 cwest initial import Revision 1.1 1999/02/27 01:49:59 abigail Initial revision
The Perl implementation of dirname was written by Abigail, email@example.com.
This program is copyright by Abigail 1999.
This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.