NAME

dirname - print the directory name of a path

SYNOPSIS

dirname string

DESCRIPTION

dirname prints the directory component of a path. Everything starting from the last / (or whatever the path separator is on your OS) is deleted.

OPTIONS

dirname does not accept any options.

ENVIRONMENT

The working of dirname is not influenced by any environment variables.

BUGS

dirname has no known bugs.

STANDARDS

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.

REVISION HISTORY

$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

AUTHOR

The Perl implementation of dirname was written by Abigail, perlpowertools@abigail.be.

COPYRIGHT and LICENSE

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.