3 ms·
A lot of these bash scripts could be replaced with Go programs. It doesn't take much code for a bash script to get ugly.
by benatkin 12y ago
A lot of these bash scripts could be replaced with Go programs. It doesn't take much code for a bash script to get ugly.
- ukandy 12y agoSure they could, but then you would need different compiled versions for different architectures, and this is kind of OTT for the task it accomplishes as it is!
- benatkin 12y agoThis would be an incentive to package the code, which would mean being able to check it against SHAs. There are a lot of go programs on homebrew now. I'd like to see a trend of smaller ones getting added there.
- dimman 12y agoOr why not make them #!/bin/sh compatible instead, I don't have bash on my systems for instance.