> As Owen observed, actually listing all files on the system is not
practical.

Not practical?  Come on, it's one line of code:

    `find /`.split(/\n/)

 ...oh wait, you're right, that won't work on MS Windows.  :)

I think returning the empty list (or some other notion of "not implemented")
> is a reasonable thing to do.
>

What about something along the lines of Luke's idea, with default recurse =
1 to replicate the old behaviour?  Or having it _not_ recuse but take a path
(which defaults to "/")?  Or a glob pattern?

Basically (and joking aside) I don't like having a dead spot in a language
based on "oh but you couldn't possibly want that" reasoning.  If we're
worried that innocent users will stumble into a firehose we can arrange
things so they have to work at it (make the defaults be something safely
limited).

-- M
-----------------------------------------------------------
The power of accurate observation is
commonly called cynicism by those
who have not got it.  ~George Bernard Shaw
------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to