The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.1.1.1  2001/06/06 08:54:25  sdague
    initial import

    Revision 1.1.1.1  2001/05/13 19:56:05  sdague
    added initial import of PPT work

    Revision 1.1  1999/02/27 01:49:59  abigail
    Initial revision

AUTHOR

The Perl implementation of dirname was written by Abigail, abigail@fnx.com.

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.