From: "ara.t.howard" Date: 2008-07-13T11:39:12+09:00 Subject: Re: can ruby replace bash scripts for linux script On Jul 12, 2008, at 1:27 PM, Xeno Campanoli wrote: > for d in $(ls $MYDIR/*) > do > echo "trace: $d" > done > > versus > > Dir["#{MYDIR}/*"].each do |d| > puts "trace: $d" > end first one does not work, the second does. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama