| NEST HelpDesk | Command Index | NEST Quick Reference |
| Name: | dirname - strip last component from file name |
| Synopsis: | string dirname -> string |
| Description: | Print NAME with its trailing /component removed;
if NAME contains no /'s, output `.' (meaning the current directory).
|
| Parameters: | string: Name of the directory |
| Examples: | (./../test/dir/foo.sli) dirname -> (./../test/dir) |
| FirstVersion: | November 2012 |
| Author: | Yury V. Zaytsev and Jochen M. Eppler |
| Source: | /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/filesystem.sli |
| NEST HelpDesk | Command Index | NEST Quick Reference |
© 2000-2010 The NEST Initiative