3 ms·
Show HN: Lwc, a live-updating version of the Unix wc command
- chatmasta 8y agoGreat idea and looks awesome, but why javascript for a shell utility? :(
- stephenr 8y agoBecause it’s 2018 and while true; do wc foo; done Doesn’t get attention from hipster developers.
- timdp 8y agoOr because JS is my primary language. I was actually already planning to port it to Go as an exercise. You're welcome to beat me to it.
- stephenr 8y agoSo, you rewrite every possible utility that isn't written in JS? It seems hard to believe that your initial problem couldn't have been solved with some combination of pv, a while loop and wc.
- timdp 8y agoFYI, Golang port: https://github.com/timdp/lwc-golang https://github.com/timdp/lwc-golang
- chatmasta 8y agoAwesome! Kudos to you. I wasn’t trying to be discouraging by questioning why JS; I just like to keep my shell scripts dependency free. The frowny face was meant as commentary on the trend of using JS when it might be overkill. Sorry if that wasn’t clear. But the go port looks nicely done, and with a fast turnaround time! :) I will be using it, so thanks. Also, welcome to HN.
- timdp 8y agoYou weren't the one being rude. I've got thick skin, and you made a good point anyway. Glad you like it. :-)