LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2009, 03:02 AM   #1
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Rep: Reputation: 15
A question about dictzip!


hi.all!
I use dictzip to compress the .dict file,and I would like to know the difference between gzip and dictzip.

I googled dictzip and I found the following:
dictzip" uses the same compression algorithm and file format as does gzip, but provides a table that can be used to randomly access compressed blocks in the file. The use of 50-64kB blocks for compression typically degrades compression by less than 10%, while maintaining acceptable random access capabilities for all data in the file. As an added benefit, files compressed with dictzip can be decompressed with gunzip.

but when I decompress the .dict.dz file.there is only one .dict file,no table.

Can anyone tell me where I can get the table generated by dictzip?
 
Old 04-04-2009, 11:27 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
A short, but slightly different description :
http://packages.debian.org/lenny/dictzip
Quote:
dictzip compresses files using the gzip(1) algorithm (LZ77) in a manner
which is completely compatible with the gzip file format. An extension
to the gzip file format allows for random access to chunks of about 57kb
without the overhead of decompressing the entire file. This package also
includes dictunzip to decompress dictzipped files and dictzcat for
viewing dictzipped files.
The "long" version
http://man.root.cz/1/dictzip/
.......
The table is used only to allow you to decompress a fraction
of the file, and the table itself will not be unpacked.
.......
Finding more : Google .. dictzip ..
.......

Last edited by knudfl; 04-04-2009 at 11:32 AM.
 
Old 04-07-2009, 01:25 AM   #3
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
thanks knudfl!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SPAM question - General Internet Security question LuggerHouse Linux - Security 1 09-07-2007 08:30 AM
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration