5 ms·
Bash is not mean for kind of projects like this. I even develop on other languages. But i like bash. A good bash script, is like reading a novel, because it's c
by dzove855 5y ago
Bash is not mean for kind of projects like this. I even develop on other languages. But i like bash. A good bash script, is like reading a novel, because it's challenging to have a clean script.
- pmarreck 5y agoI get it. The challenging part is fun. You can learn all the corner cases, the clever bash-isms, and then show off. But the code you end up with is essentially unmaintainable, especially since you don't have any test coverage, so...
- dzove855 5y agoWell that's true. I took me two hours to get this done. Since accept was not clear at the beginning. But it will be cleaner in the future, i'm still not convinced how it works currently.
- lillecarl 5y agoYou could be a doctor! "I don't really know why or how this works, but I'll prescribe enough for you to last a month".
- ramses0 5y agoThis is my favorite "reference" bash script: https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=blob;f=abcde;hb=HEAD https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=blob... ...it feels like "if it's possible to do in bash, this does it".
- istjohn 5y ago5500 lines of bash. Wow.