Re:Let's compile like it's 1992 (2014)
by giantrobot on Monday February 26, 2024 @08:44AM
(#39511153)
With curl you'll likely need to give the '-L' flag to follow a redirect automatically.
Yup. The link gives a 301 redirect to the HTTPS site. With wget it follows redirects automatically.
Re:Let's compile like it's 1992 (2014)
by ozymandias1337 on Monday February 26, 2024 @09:01AM
(#39511314)
wget FTW.
Re:Let's compile like it's 1992 (2014)
by giantrobot on Monday February 26, 2024 @09:59AM
(#39511970)
I don't dislike wget at all but I appreciate the explicit behavior of curl.
Re:Let's compile like it's 1992 (2014)
by ozymandias1337 on Monday February 26, 2024 @05:24PM
(#39517467)
Fair 'nuff.
curl -O http://fabiensanglard.net/Compile_Like_Its_1992/tools/wolfsr... gave a HTML file.
$ file wolfsrc.zip
wolfsrc.zip: HTML document text, ASCII text
wget downloaded the file correctly, though. can be unzipped without problem.