Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view wget source code?

Tags:

gzip

wget

I've gone to this link http://ftp.gnu.org/gnu/wget/ and downloaded different versions, but I have no idea how to actually unpack it.

like image 348
Quintis555 Avatar asked Nov 29 '11 21:11

Quintis555


2 Answers

You don't need to download it. Take a look at their source code repository and read everything using your browser. Here's main.c for example. More details available at How to Access the Wget Source Code Repository.

like image 93
Jan Avatar answered Oct 05 '22 23:10

Jan


tar.gz is a common extension for files that have been "tarred" ("tape archive", using the "tar" program), and "gzipped".

Most Linux systems come with these pre-installed, so you can extract the files using something like this:

tar xf wget-1.13.tar.gz

In Windows, use some unzipper program such as 7-Zip, WinZip, or WinAce or use tar from mingw/cygwin.

like image 21
Kae Verens Avatar answered Oct 06 '22 00:10

Kae Verens