Peter Smith wrote:
> Hi,
> 
> i have a question. I have a working script, that scans some txt files in
> a directory ,reads the lines and gives a few of that lines out in new
> files.
> But now, i wanted to scan the full subdirectorys for txt files. And copy
> some lines out of that files. The files are in different directorys
> belonging to the same subdirectory.

try this:
Dir['./**/*.txt']

-- 
Posted via http://www.ruby-forum.com/.