Re:Writing Safe Shell Scripts (2019)
by stebann on Saturday February 01, 2020 @04:06PM
(#22213232)
I disagree, Python scripting will tie you to Python development uncertainties, while shell works with most operational environments.
[ Parent
| on HN ]
Re:Writing Safe Shell Scripts (2019)
by montyhallpy on Saturday February 01, 2020 @10:00PM
(#22214869)
That's a good point. Shell would not announce an EOL date for a specific version. Scripts that used to work 25 years ago, still work just the same. Python scripts that used to work 10 years ago, now need maintenance/porting, no matter how trivial, to make them work with Python 3.
Re:Writing Safe Shell Scripts (2019)
by notyourday on Saturday February 01, 2020 @10:44PM
(#22215017)
You probably have one operating environment. It is the environment that you wrote that script for. Generalization in 99 out of 100 is introduction of an unnecessary flow that won't ever be executed outside the test but it will eat time.