How does one reliably determine a file\'s type? File extension analysis is not acceptable. There must be a rubyesque tool similar to the UNIX file(1) comman
The best I found so far:
http://bogomips.org/mahoro.git/