Compress

From Wikipedia, the free encyclopedia

For other uses, see Compression.

The correct title of this article is compress. The initial letter is shown capitalized due to technical restrictions.

compress is a UNIX compression program based on the LZC compression method, which is an LZW implementation using variable size pointers as in LZ78.

Contents

Files compressed by compress are typically given the extension .Z. Most tar programs will pipe their data through compress when given the command line option -Z (tar in itself does no compress, it just stores multiple files within one tape archive file).

Files can be returned to their original state using uncompress. The usual action of the program is not to create an uncompressed copy of the file, but to uncompress the compressed file (so that the uncompressed version retains the timestamp and other attributes of the compressed file).

The LZW algorithm used in compress was being patented by Sperry Research Center in 1983. The person who applied for the patent published an IEEE article on the algorithm in 1984,[1] without mentioning that the algorithm was patent pending. Spencer Thomas took this article and implemented compress in 1984, without realizing that the LZW algorithm was patent pending (The GIF image format also incorporated LZW compression in this way and later Unisys claimed royalties on implementations of GIF). The patent on LZW compression was granted in 1985 and that is why compress could not be used without paying royalties to Sperry Research (which became Unisys). compress has fallen out of favor in particular user-groups because of the UNISYS and IBM patents covering the LZW algorithm it makes use of – because of this gzip and bzip2 increased in popularity on Linux-based operating systems due to their alternative algorithms. compress has however maintained a presence on Unix and BSD systems. The LZW patent expired in 2003 so it is now in the public domain in the United States.

There is also a Freeware Mac OS X application with the same name; but it is completely unrelated with the former. This program supports the zip, 7z, bzip2, gzip, and tar formats. A much earlier program dating from the 1980s, MacCompress, is a Mac OS GUI wrapper for compress, but has not been used for some time. The Mac OS X Darwin operating system includes a compress utility as described above, accessed from A Drive.

  1. ^ Welch, Terry A., "A technique for high performance data compression", IEEE Computer, 17(6), pp.8-19, June 1984.


Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.