From: Sean O'Halpin Date: 2006-05-04T22:39:27+09:00 Subject: Re: Ruby equivalent to simple awk program On 5/4/06, Bil Kleb wrote: > Hello, > > I found this awk snippet in news:comp.lang.fortran this > morning, and it made me realize that I don't use Ruby as a > *nix filter as often as I probably should because I couldn't > duplicate the capability in "about 10 seconds": [snip] > This took about 10 seconds to write and worked the > first time. > > Later, > -- > Bil > http://fun3d.larc.nasa.gov puts ARGF.to_a.reverse About 1 second to write (a bit longer to test :) Regards, Sean