Re:Nushell 0.86
by viraptor on Wednesday October 18, 2023 @05:21PM
(#37934940)
It makes relying on "shell scripts" much easier. Almost entirely gets rid of explicit whitespace handling in variables. Has proper types, so doing some math is safer. Has built-in dictionary / array / tree value support. Has better error handling.
In practice that means gluing together many tools, especially json/yaml/network-related is easier and you have better safety around it all. You can have proper, reusable functions too.
Each script I rewrote from bash to nushell that basically strings together many AWS calls is ~2-3x shorter now and more readable.
In practice that means gluing together many tools, especially json/yaml/network-related is easier and you have better safety around it all. You can have proper, reusable functions too.
Each script I rewrote from bash to nushell that basically strings together many AWS calls is ~2-3x shorter now and more readable.