Re:Minimal safe Bash script template
by m463 on Wednesday December 16, 2020 @06:00AM
(#25441189)
I think bash is marginally more portable, yet python has some wonderful things in the standard library that make it a way more generalized language that will go further. os.path, argparse and os.walk I use a lot.
[ Parent
| on HN ]
Re:Minimal safe Bash script template
by hipjiveguy on Sunday December 20, 2020 @08:35PM
(#25491266)
agreed - but what's the equivalent of this boiler plate? One that traps errors, and sets up basics with no dependencies?