That's really not that hard to add above. A lot of folks act like it's impossible to handle errors etc. in bash, but it's pretty straightforward -- certainly no more difficult than in any other language. The hard part, like with all languages, is deciding how to handle errors cases. The rest is just code.
wiseowise|1 year ago
Then show how it is going to look like?
ryapric|1 year ago
Edit: oh good, at least the formatting looks ok.