File recognition for CTM deltas
Julian H. Stacey
jhs at berklix.com
Tue Dec 27 16:41:59 UTC 2011
I hacked 8.2-RELEASE /usr/src/contrib/file/ to recognise CTM deltas.
http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/contrib/file/
I (or someone else) could look at 2 points marked JJLATER, before I run send-pr.
It now reports:
file -z src-9.0001.gz src-9.0077.gz
src-9.0001.gz: ctm input text \
(gzip compressed data, from Unix, \
last modified: Sun Sep 25 03:36:30 2011, max compression)
src-9.0077.gz: ctm input text \
(gzip compressed data, from Unix, \
last modified: Sat Dec 24 07:04:11 2011, max compression)
whereas it used to report:
file -z src-9.000[12].gz
src-9.0001.gz: ASCII English text \
(gzip compressed data, from Unix, \
last modified: Sun Sep 25 03:36:30 2011, max compression)
src-9.0002.gz: troff or preprocessor input text \
(gzip compressed data, from Unix, \
last modified: Tue Sep 27 23:15:29 2011, max compression)
Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Reply below not above, cumulative like a play script, & indent with "> ".
Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
EU tax to kill London Vetoed http://berklix.com/~jhs/blog/2011_12_11
More information about the ctm-users
mailing list