On Wed, 04 Jan 2006 17:53:50 -0000, Joel VanderWerf  
<vjoel / path.berkeley.edu> wrote:

> Ross Bamford wrote:
>>     File.open('/proc/partitions') do |f|
>>       puts f.grep(/hda/)
>>     end
>
> irb(main):008:0> puts IO.read('/proc/partitions').grep(/hda/)

Ah thanks, that's better.

-- 
Ross Bamford - rosco / roscopeco.remove.co.uk