Should I Use Separate ERR and EXIT Traps or Just One for My Bash Script?
I'm working on a Bash script that includes a function called `test_command`, which executes a command passed to it and checks whether it completed successfully. I'm wondering about…