From: ts Date: 2003-09-23T20:01:49+09:00 Subject: Re: Dir.foreach not with patterns? >>>>> "A" == Alan Davies writes: A> Filenames with \n in them is the most ridiculous thing I've ever heard. :-) A> I take it the regexp should be /\A\.\.?\z/ then? or you can do like in lib/find.rb svg% grep 'next if' lib/find.rb next if f == "." or f == ".." svg% Guy Decoux