questions about directory function

[email protected] (Don Cohen) Sat, 27 Jan 2018 15:37:35 +0000 (UTC)
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
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

 (DIRECTORY "/etc/*") lists all regular files in the directory #P"/etc/"
This does work, btw.

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.

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.

------------------------------------------------------------------------------
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