[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
relative pathnames
- To: info-mcl@ministry.cambridge.apple.com
- Subject: relative pathnames
- From: kardank@ERE.UMontreal.CA (Kardan Kaveh)
- Date: Sun, 8 May 1994 19:58:17 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: Universite de Montreal
- Sender: news@cc.umontreal.ca (Administration de Cnews)
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