The best bit is this excerpt from the standard library (2019):
fn download_file(url, out string) {
// println('\nDOWNLOAD FILE $out url=$url')
// -L follow redirects
// println('curl -L -o "$out" "$url"')
os.system2('curl -s -L -o "$out" "$url"')
// res := os.system('curl -s -L -o "$out" "$url"')
// println(res)
}
Here's what that file looks like today: https://github.com/vlang/v/blob/master/vlib/net/http/downloa...