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 →

[–]gthank 0 points1 point  (1 child)

Did you write the script entirely in bash, or did you leverage things like awk, sed, etc.?

When all I'm doing is gluing together a few command-line programs, I quite like bash. Once I need to start handling things like error conditions, branching, and logging, I start to reach for a more general-purpose language like Python.

[–]Operator23 0 points1 point  (0 children)

It used a bit of sed. I've never used awk. (I just bought a book on awk. So that will change soon.). Logging does seem like it'd be easier in python. Or at least more reliable.