[Ecls-list] Getting on directories with DIRECTORY

Juan Jose Garcia-Ripoll lisp at arrakis.es
Wed Sep 6 14:26:04 UTC 2006

It was a simple change and now DIRECTORY passes all tests:

 - DIRECTORY behaves more according to people's expectations
	(DIRECTORY "*/") => List all directories in current path
	(DIRECTORY "*.*") => List all files in current path
   This means you need to make two calls to DIRECTORY to get all the content of
   it, but it allows you to select whether you want to list files or
   not. Furthermore, the paths returned by DIRECTORY are more or less
   guaranteed to match the mask -- the exception are links, for whose the
   truename is returned.

2006/9/6, Goffioul Michael <goffioul at imec.be>:
> Hi,
> I'm trying to get only directory entries in a specified location.
> I tried DIRECTORY, but I notice a different behavior between ECL
> (which does not what I want) and CLISP (which does). When I type
> (directory "*/")
> CLISP gives me only directory entries in the current dir
> ECL gives me all entries (dirs and files) in subdirectories of
> the current dir.
> Who's right?
> Michael.
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list

Max-Planck-Institut für Quantenoptik
Hans-Kopfermann-Str. 1, Garching, D-85748, Germany
Phone: +49 89 32905 345   Fax: +49 89 32905 336

More information about the ecl-devel mailing list