-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gianni Mariani <[EMAIL PROTECTED]> writes:
> 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.
If someone wants to write a patch that will run the
equivalent of 'file' on new source files to determine that
the file needs -kb by default, that would be a useful
extension to cvs client mode for both 'cvs add' and 'cvs
import' cases.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFAxBBS3x41pRYZE/gRApAxAKCl+1cE7B9BagquXV2y/nlOTWDGkQCgoI93
e9Hgsj3NpddLmyHuE3ct7Qw=
=fgE5
-----END PGP SIGNATURE-----
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs