uncompressed txt gzip is the same as compressed txt gzip
by unstamped from LinuxQuestions.org on (#6F0Q6)
Hello,
I have a gzipped text file, and when I try to use gunzip it, it outputs the text file but still compressed.
Original file
Code:$ file fhs-2.3.txt.gz
fhs-2.3.txt.gz: gzip compressed data, from Unix, original size modulo 2^32 30163
Uncompressed file
Code:$ file fhs-2.3.txt
fhs-2.3.txt: gzip compressed data, was "fhs-2.3.txt", last modified: Wed Jan 28 12:17:38 2004, max compression, from Unix, original size modulo 2^32 105566The outputted file cannot be read by vim, so I presume it is still compressed, but why?
I have used both gunzip and gzip -d, but the result is the same.
How can I uncompress this file so that I can actually read it?
Thank you.
I have a gzipped text file, and when I try to use gunzip it, it outputs the text file but still compressed.
Original file
Code:$ file fhs-2.3.txt.gz
fhs-2.3.txt.gz: gzip compressed data, from Unix, original size modulo 2^32 30163
Uncompressed file
Code:$ file fhs-2.3.txt
fhs-2.3.txt: gzip compressed data, was "fhs-2.3.txt", last modified: Wed Jan 28 12:17:38 2004, max compression, from Unix, original size modulo 2^32 105566The outputted file cannot be read by vim, so I presume it is still compressed, but why?
I have used both gunzip and gzip -d, but the result is the same.
How can I uncompress this file so that I can actually read it?
Thank you.