|
|
|
|
|
by kmstout
525 days ago
|
|
A couple things: - Between using Bash's functions and breaking large scripts into multiple,
separate scripts, one can keep things reasonably tidy. Also, functions and
scripts can be combined in all the ways (e.g., piping and process substition)
that other programs can. - If I run into a case where Bash is a poor fit for a job, I ask myself, "Self,
what program would make this easy to do in a shell script?" If I can respond
with a good answer, I write that, then continue with the shell scripting. If
not, I write in something else (what the kids would call a "proper" language). |
|