I would like to download a script from a vanilla MSYS environment.
On Linux, I would do
wget <url>
On Mac OS X, I would do
curl -O <url>
Unfortunately, neither of these alternatives appear to be available in a default installation of MSYS. I have also tried using the LPW::Simple
module in Perl, but that also seems to not come installed by default.
Are there any tools that come with a default MSYS environment that can be used to accomplish this?
I could always tell the end-user to download the file themselves, but that defeats the goal of having everything "just work" with a minimal need for installing additional software.
There is an MSYS wget package, but it doesn't seem to be installed by default. If you are willing to modify the MSYS environment, your script can do:
mingw-get install msys-wget-bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With