Referring to file and directory names
When a file or directory is referred to in the Desktop,
its name may be used in four ways:
the full name of the file or directory, which always begins
with a slash
the name of the file/directory within its directory.
It is the part of the absolute pathname following the last slash.
In addition, the file or directory name's ``extension''
is the part of the basename from the last dot.
the name of the directory holding the file or directory.
It is the part of the absolute pathname preceding the last slash.
the path to a file or directory, starting from your home directory
For example, the various names of the file
There is one special case: the dirname of ``/''
is /. (slash-dot),
and its basename is / (slash).
Processing filenames in rules
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005