[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Create a directories list with sub-directories
From:       Dirk Einecke <dirk.einecke () gmx ! de>
Date:       2004-03-24 8:44:32
Message-ID: c3rhhs$2bfft5$1 () ID-43561 ! news ! uni-berlin ! de
[Download RAW message or body]

Hi.

Vadim Nasardinov wrote:
> The output from this script looks like this (best viewed with a
> fixed-width font):
> 
> /tree.rb /usr/lib/ruby/1.8/
> +/usr/lib/ruby/1.8/
> |  English.rb
> |  Env.rb
> |  base64.rb
> |  benchmark.rb
> +- bigdecimal/
> |     jacobian.rb

I have one question: With your code the files in a folder will be print 
out at first. Is it possible to change this that the order is inverted: 
at first the folders an after that the files? I tried it yesterday but I 
can't get a working solution.

bye
Dirk Einecke

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic