Hacker News new | ask | show | jobs
by dzove855 1623 days 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.
2 comments

This is my favorite "reference" bash script: 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".

5500 lines of bash. Wow.
I 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...
Well 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.
You 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".