Comment Comment by bhaak How about you don't? Bash as scripting language is rather mediocre.Anything that is not simple in bash gets hard to read and debug and probably is wrong on some subtle levels.I have a rule of thumb that any shell script that grows beyond a screenful of lines gets redone in a proper scripting language. parent bhaak 9 years ago
Anything that is not simple in bash gets hard to read and debug and probably is wrong on some subtle levels.
I have a rule of thumb that any shell script that grows beyond a screenful of lines gets redone in a proper scripting language.