hY,<br><br>The truename function doesn't resolve some of the "." and ".." directories along the path, so it doesn't provide a canonical path.<br><br><div style="margin-left:40px;font-family:courier new,monospace">
ecl -norc<br>ECL (Embeddable Common-Lisp) 11.1.1 (git:24debdf1617e374a13655dec832e56924b78a6bf)<br></div><br style="font-family:courier new,monospace"><div style="margin-left:40px"><span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">(truename "..") ; => #P"/home/bege/../" ; not ok</span><a href="mailto:ecls-list@lists.sourceforge.net"></a><br>
<a style="font-family:courier new,monospace" href="mailto:ecls-list@lists.sourceforge.net"></a><span style="font-family:courier new,monospace">(truename "../bege/") ; => #P"/home/bege/../bege/" ; not ok</span><br>
<span style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">(truename ".") ; => #P"/home/bege/" ; ok</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace">(truename "/./home/") ; => #P"/home/" ; ok<br>(truename "/./home/./bege/") ; => #P"/home/./bege/" ; not ok<br>
</span><br></div>I would prefer not to have any "." and ".." along a canonical path, just as many other lisp work (sbcl, ccl, clisp, abcl).<br>Is there a way to get that?<br><br>Thanks,<br>`bg`<br><br>
<span style="font-family:courier new,monospace"></span><span style="font-family:courier new,monospace"></span>