From 549bba81e739ab10d8013c9ca88ce70b0ddda8e4 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 28 Jul 2009 15:29:23 +0100 Subject: Pass '-z' parameter to 'file' command so it looks inside compressed files. Also we deprecate the old 'zfile' command. --- src/generator.ml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/generator.ml b/src/generator.ml index bf3e6379..b7878506 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1449,7 +1449,10 @@ This call uses the standard L command to determine the type or contents of the file. This also works on devices, for example to find out whether a partition contains a filesystem. -The exact command which runs is C. Note in +This call will also transparently look inside various types +of compressed file. + +The exact command which runs is C. Note in particular that the filename is not prepended to the output (the C<-b> option)."); @@ -2914,7 +2917,7 @@ were rarely if ever used anyway. See also C and the L manpage."); - ("zfile", (RString "description", [String "method"; String "path"]), 140, [], + ("zfile", (RString "description", [String "method"; String "path"]), 140, [DeprecatedBy "file"], [], "determine file type inside a compressed file", "\ @@ -2923,7 +2926,8 @@ using C. C must be one of C, C or C. -See also: C"); +Since 1.0.63, use C instead which can now +process compressed files."); ("getxattrs", (RStructList ("xattrs", "xattr"), [String "path"]), 141, [], [], -- cgit