file-4.24 no longer recognizes .Z files (classical Unix compress files)

Mark Martinec Mark.Martinec+amavis at ijs.si
Thu May 22 21:32:36 EEST 2008


Christos,

Tod A. Sandman has reported on the amavis-user mailing list that
the file-4.24 no longer recognizes classical Unix compressed files
(the .Z files). I checked today and can confirm the problem:

$ /usr/bin/file *.lis*  # older version of 'file'
9.lis.Z:  compress'd data 9 bits
10.lis.Z: compress'd data 10 bits
11.lis.Z: compress'd data 11 bits
12.lis.Z: compress'd data 12 bits
13.lis.Z: compress'd data 13 bits
14.lis.Z: compress'd data 14 bits
15.lis.Z: compress'd data 15 bits
16.lis.Z: compress'd data 16 bits

$ file --version  # new one
file-4.24
magic file from /usr/local/share/file/magic
$ file *.lis*
9.lis.Z:  data
10.lis.Z: data
11.lis.Z: data
12.lis.Z: data
13.lis.Z: data
14.lis.Z: data
15.lis.Z: data
16.lis.Z: data

These test files were just some plain text files compressed
with a Unix or Linux 'compress' command. The result is the
same regardless of the value of option -b (bits, 9..16).

It would be nice to get this fixed by the next version.

(please drop my previous posting waiting for moderation,
I used a wrong sending address).

Regards
   Mark



More information about the File mailing list