Probably the whole file didn't download and without that -c switch wget
would not have continued trying to download if it got disconnected.
On Sat, 13 Aug 2016, Tim Chase wrote:
Date: Sat, 13 Aug 2016 20:59:47
From: Tim Chase <blinux.list@xxxxxxxxxxxxx>
Reply-To: Linux for blind general discussion <blinux-list@xxxxxxxxxx>
To: John J. Boyer <john.boyer@xxxxxxxxxxxxxxxxx>
Cc: blinux-list@xxxxxxxxxx
Subject: Re: A dumb question on gunzip
On August 13, 2016, John J. Boyer wrote:
I'm trying to unzip the Cygwin User Guide located at the link "One
large compressed html file". However, when I download the file and
type gunzip filename
I get garbage. The man page doesn't enlighten me. So please answer
this dumb question: how do i get a good html file?
I'm not sure what happened to your file, but I just performed the
following two commands:
wget -c https://cygwin.com/cygwin-ug-net/cygwin-ug-net-nochunks.html.gz
unzip cygwin-ug-net-nochunks.html.gz
and was left with a "cygwin-ug-net-nochunks.html" file in the
directory that I could browse with any of multiple browsers.
-tim
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list
--
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list