4 ms·
> Could somebody please educate me on why bashing it would be preferable? Bash is a much better glue language than python. If all your script does is to call
by enriquto 6y ago
> Could somebody please educate me on why bashing it would be preferable?
Bash is a much better glue language than python. If all your script does is to call other programs that do all the work, it is very likely you can write it as a single line shell script. In python, you'll have to import libraries, call functions with many arguments, and whatnot.
- DaniloDias 6y agoIf you have to parse output from one binary as input to another, I find it is way less error prone to use bash. There are subtleties to flushing output from processes in python that can lead to surprises.