Re:Minimal safe Bash script template
by powersnail on Tuesday December 15, 2020 @04:05PM
(#25435256)
I agree. Subprocess isn't really a shell-ish pipe. And it's sometimes slow (at least it used to be).
This is why I use the shell overall, but when I need to process something that's better expressed in python, I use pypyp.
Re:Minimal safe Bash script template
by sillysaurusx on Wednesday December 16, 2020 @02:12AM
(#25439904)
Thanks for mentioning pypyp! It looks sweet.
You can write a simplifying function, but programs rarely do.