4 ms·
I had this problem as well. The same trivial shell scripting problems came up over and over. My solution was to write a static analysis tool (ShellCheck) that
by koala_man 9y ago
I had this problem as well. The same trivial shell scripting problems came up over and over.
My solution was to write a static analysis tool (ShellCheck) that would recognize them automatically and with enough confidence would even auto-answer. It's gotten way more use than I ever expected.
Haven't made much progress on the plaintext question problem though. Some day!
- forkerenok 9y agoThank you for the great tool! I use it.
- maxxxxx 9y agoCool! It's also written in Haskell. I always wanted to take a closer look at that language and this project seems just about the right size!
- koala_man 9y agoJust be aware that this was my first proglang project as well as my first Haskell project. What worked well was unit testing and Haskell. What didn't work as well was inventing adhoc solutions instead of standard compiler techniques like DFA/CFG, and not writing more and better DSLs (in the form of monadic APIs) since they're cheap and convenient.