detecting symbolic links

Started by Dmi, January 14, 2008, 12:01:37 AM

Previous topic - Next topic

Dmi

$ ln -s "." test
$ newlisp
> (directory "test")
true

So I can make a file symlinks, which will cycle the file tree iterators, or will go through mounted filesystems which is not always attended.



But in most other cases following symlinks is very useful because it is a regular Unix convention.



Can we have an option for (directory?) which will trigger symlink detection?
WBR, Dmi

newdep

#1
There is one in ->

http://www.newlisp.org/index.cgi?page=Code_Snippets">//http://www.newlisp.org/index.cgi?page=Code_Snippets



But not sure if you seek that ;-)
-- (define? (Cornflakes))