Re: questions about directory function
Sam Steingold <[email protected]> Mon, 29 Jan 2018 10:13:03 -0500
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
> * Don Cohen <[email protected]> [2018-01-27 15:37:35 +0000]: > > Impnotes says: > (DIRECTORY "/etc/*/") lists all subdirectories in the directory #P"/etc/". > > In my current build (on linux) > (directory "/etc/*/") > [../src/pathname.d:7223] > *** - OS-FILE-ERROR(ENOENT): No such file or directory This is a bug, please report a self-contained case at https://sourceforge.net/p/clisp/bugs/. > However the results I find somewhat surprising: > The symbolic link > grub2.cfg -> ../boot/grub2/grub.cfg > shows up as > #P"/boot/grub2/grub.cfg" > Somehow I expected /etc/grub2.cfg. As Pascal said, ANSI CL requires TRUENAME. > What are the arguments for either choice? > Perhaps this should be mentioned in impnotes. > > I see I can get both paths from the :full option. Yes, this is the way to get the un-resolved name. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1561 http://steingoldpsychology.com http://www.childpsy.net http://no2bds.org http://jij.org http://memri.org http://mideasttruth.com https://ffii.org What's the difference between Apathy & Ignorance? -I don't know and don't care! ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list