Tutorial: HTTP Client in C with libdill
libdill.org
libdill.org
#!/usr/bin/env bash
curl "${@:2}"
I mean, if you use a lib it is no wonder you have a low line count and the result is in fact as much Wget as curl is wget (probably even less).How about 'Tutorial: HTTP Client in C with libdill'?
This isn't "Wget in 50 lines of C code", just `wget --help` page is 192 lines.
“This tutorial is meant as an introduction to libdill socket library. We are going to develop a simple version of wget utility, that can be used to download webpages from the net.”
It's like claiming you "rewrote Quake in 2 lines" then posting a .bat file with the contents "echo Starting quake lol...\r\nquake.exe"