3 ms·
It's both interesting to read and meh. It's meh because like many things, you actually have to read the fine manual if you want stuff to actually work. It's i
by znpy 6y ago
It's both interesting to read and meh.
It's meh because like many things, you actually have to read the fine manual if you want stuff to actually work.
It's interesting because it's always nice to have a refresher and/or reminder of various bash things.
That being said... I've said this many times, I'll say it again: bash scripts are software, and thus must not be exempted from various programming best practices. The first thing that comes to my mind is input validation and error checking.
Bash is not magical. It's one of those things that have to be mastered through practice... Just like many other programming languages.