|
|
|
|
|
by skybrian
3819 days ago
|
|
No, it's not the same. Most experienced programmers know a little bash and enough UNIX commands to get by. This is enough to write a script that handles the happy path, but not enough to handle all error conditions correctly. There are all sorts of tricks you need to know that are commonly skipped. (Forgetting to use -print0 for example, and that's an easy one.) The resulting script is probably okay if you run it interactively and check the output but will blow up or silently do the wrong thing for unexpected input in production. To properly review a bash script for errors you need to be an expert. By contrast, Go programmers with a few months of experience typically know all of Go. The older tool is not necessarily better if it has lots of obscure sharp edges that most people don't learn. |
|
Just like Excel "programs", shell scripts can be easily mined for requirements for a real program though.