dirname − print the directory name of a path
dirname string
dirname prints the directory component of a path. Everything starting from the last / (or whatever the path separator is on your OS) is deleted.
|
• |
−−version |
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 dirname implementation is compatible with the OpenBSD implementation.
This implementation of dirname was adapted by Michael Mikonos.
The original version was written by Abigail, but the code was completely replaced.
This program is copyright by Abigail, 1999, and Michael Mikonos, 2024.
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.