Help for this page

Select Code to Download


  1. or download this
               When
               using Unix or MSDOS syntax, the return value conforms to th
    +e behav-
    ...
               example, for the input file specification lib/, fileparse()
    + consid-
               ers the directory name to be lib/, while dirname() consider
    +s the
               directory name to be .).
    
  2. or download this
    $ dirname foo/bar
    foo
    ...
    foo
    $ dirname foo/bar/.
    foo/bar