From attila at lendvai.name Thu May 24 12:14:04 2018 From: attila at lendvai.name (Attila Lendvai) Date: Thu, 24 May 2018 14:14:04 +0200 Subject: pathname question Message-ID: hi Stelian, is this a bug or is it a mistake in my expectations? > (iolib/pathnames:file-path-namestring (iolib/pathnames:parse-file-path "with [wild] chars.txt")) "with [wild] chars.txt" > (uiop:parse-unix-namestring "with [wild] chars.txt") #P"with \\[wild] chars.txt" notice the extra \\ to escape the opening square paren. background: my bug is that hu.dwim.web-server fails to serve files with square parens in their name due to eventually calling: (FILE-WRITE-DATE "with [wild] chars.txt") it works with iolib pathnames, but to get the file-write-date it calls iolib.pathnames:file-path-namestring. i'm not sure what [] means in CL pathnames, but seems to have a special meaning. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “People will forget what you said, people will forget what you did, but people will never forget how you made them feel.” — Maya Angelou (1928–2014)