3 ms·
I believe that Bash scripts should be trivially short and simple. As soon as any complexity is introduced they should be written in another language.
by moebrowne 8mo ago
I believe that Bash scripts should be trivially short and simple. As soon as any complexity is introduced they should be written in another language.
- general1465 8mo agoI agree, the moment bash script needs "if" statement, you are using wrong language.
- frou_dh 8mo agoIs that so? Sounds like this commandment has a lot of authority, I'd better start following it.
- cousinbryce 8mo agoYou’re free to program in language with only one data type all you want!
- porise 8mo agoPerl was written to write more complicated bash scripts. It's so seamless to call and handle shell commands and the first class regexes make it terse in a way that's appropriate for this use case.