[Openmcl-devel] How do I list subdirectories in CCL?

Robert Goldman rpgoldman at sift.info
Mon Apr 11 08:48:20 PDT 2011


On 4/11/11 Apr 11 -9:15 AM, Gary Byers wrote:
> (directory path :directories t)
> 
> If this was changed so that the :DIRECTORIES arg defaulted to T:
> 
> - it's possible that a few people whose code depends on the traditional/MCL
>   behavior would have to change that code
> - this question wouldn't come up every few months.

Thanks.  I'm not sure why I was unable to find this in the manual.  I
think I'm just not that good at finding my way around it yet (and
searching for the string "directory" is not a good idea! ;->)

I appreciate the pointer from both of you.

best,
r

> 
> On Mon, 11 Apr 2011, Robert Goldman wrote:
> 
>> In ACL and SBCL the following works for me:
>>
>> (directory (merge-pathnames (make-pathname :name :wild :type :wild)
>> (parse-namestring "/Users/rpg/lisp/nst/") ))
>>
>> But in CCL this gives me a listing with subdirectories omitted....
>>
>> thanks!
>> Robert
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
>>
>>




More information about the Openmcl-devel mailing list