[Ecls-list] Getting directory contents on Unix

Duong "Yang" Ha Nguyen cmpitg at gmail.com
Thu Mar 3 07:25:55 UTC 2011


On Tue, 1 Mar 2011, Zach Beane 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?
>
> Thanks,
> Zach
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>

Hi Zach,

Not sure I understand what you need but have you tried Peter Seibel's
CL-FAD (CL-FAD:LIST-DIRECTORY)?

Best,
Yang
-- 
Dương "Yang" Hà Nguyễn
Web log: http://cmpitg.wordpress.com/
"Life is a hack"

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/C/ED/L d++ s-:-(:) !a C+++(++++) ULU++++>$ P-- L+++>$ E+++
W++>+++ N+ o+ K w--- O- M@ V- PS+ PE++ Y+>++ PGP++ t+ 5 X+ R-
tv+ b+++ DI+++ D++ G+++ e* h* r* y-
-----END GEEK CODE BLOCK-----


More information about the ecl-devel mailing list