From: John W Higgins Date: 2009-09-19T12:47:53+09:00 Subject: Re: Determining if a file is binary or text --00c09f899b2de2e5eb0473e61c55 Content-Type: text/plain; charset=ISO-8859-1 Evening James. On Fri, Sep 18, 2009 at 4:15 PM, James Masters wrote: > ... For example, the "file" command can produce the following > (all of which are ASCII): > > ASCII text > XML document text > Lisp/Scheme program text > What about file -i which returns the MIME type instead of "human readable" format. That should limit the choices it will return or at least give you something you can work with. John --00c09f899b2de2e5eb0473e61c55--