From: martindemello@... (Martin DeMello) Date: 2002-10-07T00:11:03+09:00 Subject: Re: Ruby to approximate 'file'? Austin Ziegler wrote in message news:<20021005055015.CIXT20369.tomts5-srv.bellnexxia.net@hogwarts>... > Is there a file-type detection script available for Ruby, similar to > the unix 'file' program? At a minimum, is there a way in Ruby to > reliably tell the difference between a binary file format and a text > file format? There's a native win32 port of 'file', if that helps: http://gnuwin32.sourceforge.net/packages.html martin