On Saturday, 6 August 2016 at 17:18:51 UTC, Andre Pany wrote:
Hi,
I play around with the new windows 10 feature to run a linux
sub system on windows.
-> Installing dmd is working fine with the command
curl -fsS https://dlang.org/install.sh | bash -s dmd
Just a side note but it's a really bad idea to pipe curl in bash
as it opens the door to remote unknown code exploitation. Even
checking what curl returns beforehand isn't enough as a piped
curl is distinguishable server-side so a different script could
be provided dynamically.
(Ok, with dlang.org there shouldn't be much problem but still)