On Mon, Nov 29, 2010 at 4:20 AM, Stu <stu / rubyprogrammer.net> wrote:
> using tr (both in ruby and your shell) should help dealing with such
> silliness both going in and also going out if such an extreme case
> exists.
>
> Oli what's your shell scripting example?
>
>
> On Sun, Nov 28, 2010 at 7:40 PM, Oliver Schad
> <spam.entfernen.und.bring.gefaelligst.ein.bier.mit / oschad.de> wrote:
>> File names can contain new lines.

This whole argument of yours just proves my point that the silliness
is actually using "ls" from a Ruby script when there are Dir.glob,
Dir[], Find.find, File.stat and the like in Ruby.  Forking another
process for this is slow and error prone.

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/