after I did send my mail I realized that even many Unix users don't know that command and even less people from other platforms. Here are the relevant UNIX man pages:
http://unixhelp.ed.ac.uk/CGI/man-cgi?file http://unixhelp.ed.ac.uk/CGI/man-cgi?magic+5
The idea is to recognize files by certain parts in them instead of using the extensions. The result of the classic file command is a user-readable string, although there have been extensions to MIME types. Unfortunately I can't find a pointer for the latter.
Peter
Jack Park wrote:
At 07:21 PM 6/30/2003, you wrote:
does anyone know of a Java implementation for file(1) magic?
Peter, Can you explain what file(1) magic is? I feel dense. I'd like to help if I can. Thanks Jack
--------------------------------------------------------------------------- XML Topic Maps: Creating and Using Topic Maps for the Web. Addison-Wesley. Jack Park, Editor. Sam Hunting, Technical Editor
Build smarter kids, not smarter bombs.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
