bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does -l option of gzip work correctly for large files (about 10GB)?


From: Peng Yu
Subject: Does -l option of gzip work correctly for large files (about 10GB)?
Date: Tue, 12 Jul 2011 15:47:41 -0500

Hi,

$ gzip -l 28122s_2_sorted.txt.gz
         compressed        uncompressed  ratio uncompressed_name
         1247648790          1285935835   3.0% 28122s_2_sorted.txt

The uncompressed file size according to "gzip -l" is about 1.2GB.
However, I extracted the file. The file size is 9.2GB. I'm wondering
if there is a bug in gzip when it deals with large files.

$ ls -hltr 28122s_2_sorted.txt
-rw-r--r-- 1 nobody nogroup 9.2G 2011-07-12 15:39 28122s_2_sorted.txt

$ gzip --version
gzip 1.3.12
Copyright (C) 2007 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.


-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]