in reply to How best to identify & Categorize Source Code?

File::MMagic
  • Comment on Re: How best to identify & Categorizing Source Code?

Replies are listed 'Best First'.
Re^2: How best to identify & Categorizing Source Code?
by Zadeh (Beadle) on Mar 31, 2008 at 23:20 UTC
    I made a go at this initially, but the only thing it returns so far is "text/plain" which doesn't help much. What am I missing?
      It should be using a technique very similar to the "file" command. Try feeding it your /etc/magic file.
        Maybe thats the problem, I don't have one on win32 and I don't see anything installed in my package tree either. ugh