|
|
|
|
|
by maccard
635 days ago
|
|
My point is that if you take a snippet designed to be terse in bash, it’s an unfair advantage to bash. There are dozens of countless examples in python which will show the opposite > And you couldn't read the command pipeline I put together? It took me multiple goes, but the equivalent in python I can understand in one go. > Put the thing you want to do in a function, execute it on a line, if the sub-shell returns a failure status, execute it again. It isn't like bash does not have if-statements or while-loops. But when you do that, it all of a sudden looks a lot more like the python code |
|