Wild and pathname
Hello, The Mac file system allows the use of the *¹ character in pathnames, but lispworks doesn¹t. (pathname ³/foo*.txt²) works, but (probe-file (pathname ³/foo*.txt²)) gives an error. A double backslash before the character seems to resolve the problem : (wild-pathname-p (pathname ³/foo\\*.txt²)) => nil Is it a safe solution for a non portable application to insert a double backslash before any *¹ character in namestrings or pathnames given by the user ? Thanks Denis ------------------------------------------------------- Denis Pousseur 70 rue de Wansijn 1180 Bruxelles, Belgium Tel : 32 (0)2 219 31 09 Email : denis.pousseur@gmail.com Website : http://www.denispousseur.com ------------------------------------------------------- _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html