Austin Ziegler <austin / halostatue.ca> 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