From: Mmcolli00 Mom Date: 2009-07-24T01:28:55+09:00 Subject: Re: Dir.entries showing . and .. , how come? Mmcolli00 Mom wrote: >> On unix, Dir.glob doesn't return hidden files(like Dir.entries does): >> >> >> dirname = "whatever" >> >> Dir.glob("#{dirname}/*").each do |fname| >> puts fname >> end > > this returned 1 nil since first file in the directory was not the file > for the condition. (ex. "AUR") disregard this, replied to wrong post - sorry :-) -- Posted via http://www.ruby-forum.com/.