Re: search file in a directory

From: James Edward G. II [mailto:[email protected]]

On Oct 22, 2006, at 12:15 PM, Robert K. wrote:

Do we have a gateway problem again?
We took some pretty drastic measures when we addressed the last
Gateway issue and haven’t seen a thing since. I think we have it
pretty locked down now.

If “locked down” is meant to imply “dialed in”, i.e. functioning
perfectly…I think you’re mistaken.

In the last several days I’ve seen a bunch of items on the newsgroup
that are replies to messages that never showed up there. And (I think)
vice versa - stuff that shows up on groups.google.com that isn’t showing
up on the mailing list.

On 10/24/06, Gavin K. [email protected] wrote:

In the last several days I’ve seen a bunch of items on the newsgroup
that are replies to messages that never showed up there. And (I think)
vice versa - stuff that shows up on groups.google.com that isn’t showing
up on the mailing list.

Just out of curiosity…

Whenever I have to find a file in Ruby script…normally, what I do is:

data = find .
file_array = data.split("\n")
#iterate through the array here…and find your gem

Isn’t it faster than inbuilt find?
Of course…i could be completely wrong, and above script can be used
only on a Unix box.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs