Alright, so I am trying to use
perl (or any other shell scripting language, awk/
sed/bash for instance), to retrieve the mime-type of a file.
I want to keep it in one file, and most of the modules that are on cpan that check for mime types (Magic), aren't installed on these boxes.
Anyone have a good way of checking for a file's mime type?