تجزیه اجزای pathname

   Usage: dirname NAME
  or:  dirname OPTION
Print NAME with its trailing /component removed; if NAME contains no /'s,
output `.' (meaning the current directory).

      --help     display this help and exit
      --version  output version information and exit

  dirname /usr/bin/sort  Output "/usr/bin".
  dirname stdio.h        Output ".".

Report dirname bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'dirname invocation'