[Ecls-list] Getting directory contents on Unix

Zach Beane xach at xach.com
Mon Mar 7 00:26:58 UTC 2011


Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:

> On Wed, Mar 2, 2011 at 2:03 AM, Zach Beane <xach at xach.com> wrote:
>
>     Say I have a directory structure like this:
>
>      /tmp/x/a.txt
>      /tmp/x/b.txt (a symlink to a.txt)
>
>     Is there any function I can call to get a list of #p"/tmp/x/a.txt" and
>     #p"/tmp/x/b.txt? On sbcl, for example, I can pass :resolve-symlinks nil
>     to CL:DIRECTORY. What (if anything) can I use in ECL?
>
>
> Until version 11.1.1, there was no way. I will add a :resolve-symlinks keyword
> arguments for the next release -- it is already in CVS.

Thanks, that's great!

Zach




More information about the ecl-devel mailing list