Paolo Amoroso wrote:
> I would like to enumerate the directories and files in a
> given directory under Linux.
(directory "*" :full t)
You need two calls to get both files and directories with CLISP.
DIRECTORY is Common Lisp standard
From: Paolo Amoroso <amoroso@mc...> - 2002-03-22 10:02:29
On Thu, 21 Mar 2002 11:23:50 +0100, Jorg Hohle wrote:
> (directory "*" :full t)
> (directory "*/")
> You need two calls to get both files and directories with CLISP.
It looks like I missed the DIRECTORY information in the CLISP impnotes...
> DIRECTORY is Common Lisp standard
Yes, but I also missed an important detail in the CLHS entry for DIRECTORY:
directory pathspec &key => pathnames
Arguments and Values:
pathspec---a pathname designator, which may contain wild components.
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation