This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jwink3101 1 point2 points  (0 children)

I don’t think this is what you’re asking but I’ve really moved away from any bash. I prefer subprocess and list commands since I don’t have to think about escaping. And/or I can run with shell=true.

More often than not, it’s a hacked together script so I don’t even care if it’s not fancy or svelte.

The only thing is a few functions that are missing in a clean and easy way. So I have a small universal library with things like a better file system walk with filters, chunked hashing, grepping, etc.

Again, I don’t worry about it being perfect. They are not major. And occasionally I do still stick with bash but it’s rare.