The unix 'file' command, with a subsequent check for the work 'text', as mentioned by Victor earlier, is a very good start for file type checking.
Peter
Jeremias Maerki wrote:
Thanks for your input. Your suggestion below smells dangerous, though. In the meantime I've started a little check-program (in Java) that analyzes files on their line endings using regex-matching. I think, I'll expand that to a little project including command-line app, ant-task etc.
-- Peter B. West [EMAIL PROTECTED] http://www.powerup.com.au/~pbwest/ "Lord, to whom shall we go?"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]