5 ms·
How is that any different from Linux distributions camping their default shell? Like back when debian changed their default shell to dash I don't remember anyon
by poizan42 10y ago
How is that any different from Linux distributions camping their default shell? Like back when debian changed their default shell to dash I don't remember anyone saying you should stay away from debian, even though it broke a lot of existing scripts.
- shostack 10y agoDid you have a choice to upgrade? Could you reinstall the old version of you wanted? Windows has stripped that power from users.
- viraptor 10y agoThat's a bit different. The change only exposed that some scripts were already broken and worked by accident. Specifying that your script should be run with #!/bin/sh and then using bash syntax is what broke them. It's a bit like naming your files something.c, writing the code in C++ and compiling with `cc` just because `cc` happened to be linked to `c++` on your system. It will work for you, but don't be surprised when you distribute the source and people have problems using it. Scripts that used #!/bin/bash still worked, scripts that actually used only sh syntax and #!/bin/sh still worked.
- ygra 10y agoSo there is actually no difference at all on Windows, then. Batch files have .cmd or .bat extensions and will continue to be run by cmd.
- viraptor 10y agoThat's the difference - the extensions continue to work, but the gui link to the application changes. Essentially now people will open powershell instead of cmd without necessarily realising.
- noja 10y agoDebian didn't make a major change within a release.