3 ms·
The non-naive version sets the PowerShell culture/Bash locale before it runs anything.
by chris_wot 11y ago
The non-naive version sets the PowerShell culture/Bash locale before it runs anything.
- mikeash 11y agoThat works, but it also means that non-English speakers have to learn everything twice.
- chris_wot 11y agoNot sure I see the point you are attempting to make.
- mikeash 11y agoThe great thing about shell scripting is that you use the same commands for interactive use and scripting. If interactive use is localized but scripting is not then that no longer applies.
- chris_wot 11y agoYou add the locale to your script and the problem goes away. You still haven't explained how that's a problem.