[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

relative pathnames



Two questions regarding pathnames in MCL:

1) What is the equivalent to the Unix pathname "foo/../bar"?  I.e. how can I
   jump up one level in a pathname?

2) Is it possible to make a pathname relative to the file it appears in?  For
   example, given a file "root:foo.lisp", can it contain (load "bar:baz.lisp")
   and somehow expect the system to find "root:foo:bar:baz.lisp"?

Thanks,

Kaveh

-- 
Kaveh Kardan
kardank@ERE.UMontreal.CA