4 ms·
100 lines is such an amateur number. I can actually do this in 1 lines of shell. curl -O $1 $2 Checkmate 100line python guy!
by raincole 4y ago
100 lines is such an amateur number. I can actually do this in 1 lines of shell.
curl -O $1 $2
Checkmate 100line python guy!
- ddtaylor 4y agoIt's worth noting that Microsoft actually does shim "curl" in Powershell to basically be a light wrapper around the "Invoke-WebRequest" object. Is it a full drop-in replacement for curl? Nope, but it does replace it in the simple context(s) of stuff like "curl -O foo bar"
- raincole 4y agoPowershell is really weird in the sense that I can sometimes use Unix-like command like cp, mv, rm... I know it's probablly a completely different thing behind the curtain but it's amusing.