Re: parse-namestring and logical pathnames
- From: "Steven E. Harris" <seh@xxxxxxxxx>
- Date: Sun, 28 Sep 2008 09:59:03 -0400
Madhu <enometh@xxxxxxxx> writes:
Aside: This sort of concatenating physical pathnames as strings is
implementation specific. To be portable you have to use.
(let* ((to-wildcard-base
(merge-pathnames
(make-pathname :host nil :name :wild :type nil :version nil
:directory '(:relative :wild-inferiors))
(user-homedir-pathname) nil))
(to-wildcard-with-ext
(merge-pathnames
(make-pathname :host nil :name :wild :type :wild :version :wild
:directory '(:relative :wild-inferiors))
(user-homedir-pathname) nil)))
Thanks. I replaced my earlier version with this one. It helps to clarify
what all the asterisks actually stand for in the strings. I've had a
hard time finding documentation for the syntax.
--
Steven E. Harris
.
- References:
- parse-namestring and logical pathnames
- From: Steven E. Harris
- Re: parse-namestring and logical pathnames
- From: Pascal J. Bourguignon
- Re: parse-namestring and logical pathnames
- From: Madhu
- parse-namestring and logical pathnames
- Prev by Date: Re: parse-namestring and logical pathnames
- Next by Date: Re: parse-namestring and logical pathnames
- Previous by thread: Re: parse-namestring and logical pathnames
- Next by thread: soul calibur hentai soul calibur 2 hentai soul calibur 3 hentai soul calibur hentai manga soul calibur hentai taki - Online
- Index(es):
Relevant Pages
|