Mark D. Baushke wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adrian Constantin <[EMAIL PROTECTED]> writes:



...

If someone wanted to hack in an automagical
recognition system that could be enabled for
binary file types, I suppose we could consider
adding it.



It already exists, it's called "file" !

$ file xx.cpp
xx.cpp: ASCII C++ program text
$ file dialog.gif
dialog.gif: GIF image data, version 89a, 28 x 28

it appears that it returns a line with "text" if the file is considered text.

I think that would be fairly trivial to add to cvs.


_______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to