From d93cdb163026293a2a3b41fcc57baeedbf6012a6 Mon Sep 17 00:00:00 2001 From: wxy Date: Sun, 15 Apr 2018 21:28:16 +0800 Subject: [PATCH] PUB:20171002 Linux Gunzip Command Explained with Examples.md @erialin https://linux.cn/article-9549-1.html --- .../20171002 Linux Gunzip Command Explained with Examples.md | 1 - 1 file changed, 1 deletion(-) rename {translated/tech => published}/20171002 Linux Gunzip Command Explained with Examples.md (99%) diff --git a/translated/tech/20171002 Linux Gunzip Command Explained with Examples.md b/published/20171002 Linux Gunzip Command Explained with Examples.md similarity index 99% rename from translated/tech/20171002 Linux Gunzip Command Explained with Examples.md rename to published/20171002 Linux Gunzip Command Explained with Examples.md index 9d509c56e5..fb6a25bcba 100644 --- a/translated/tech/20171002 Linux Gunzip Command Explained with Examples.md +++ b/published/20171002 Linux Gunzip Command Explained with Examples.md @@ -74,7 +74,6 @@ gunzip -c file1.gz > /home/himanshu/file1 > `gunzip` 在命令行接受一系列的文件,并且将每个文件内容以正确的魔法数开始,且后缀名为 `.gz`、`-gz`、`.z`、`-z` 或 `_z` (忽略大小写)的压缩文件,用未压缩的文件替换它,并删除其原扩展名。 `gunzip` 也可识别一些特殊扩展名的压缩文件,如 `.tgz` 和 `.taz` 分别是 `.tar.gz` 和 `.tar.Z` 的缩写。在压缩时,`gzip` 在必要情况下使用 `.tgz` 作为扩展名,而不是只截取掉 `.tar` 后缀。 > `gunzip` 目前可以解压 `gzip`、`zip`、`compress`、`compress -H`(`pack`)产生的文件。`gunzip` 自动检测输入文件格式。在使用前两种压缩格式时,`gunzip` 会检验 32 位循环冗余校验码(CRC)。对于 pack 包,`gunzip` 会检验压缩长度。标准压缩格式在设计上不允许相容性检测。不过 `gunzip` 有时可以检测出坏的 `.Z` 文件。如果你解压 `.Z` 文件时出错,不要因为标准解压没报错就认为 `.Z` 文件一定是正确的。这通常意味着标准解压过程不检测它的输入,而是直接产生一个错误的输出。SCO 的 `compress -H` 格式(lzh 压缩方法)不包括 CRC 校验码,但也允许一些相容性检查。 -``` ### 结语