Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Lwc, a live-updating version of the Unix wc command (github.com/timdp)
5 points by timdp on April 21, 2018 | hide | past | favorite | 9 comments


Great idea and looks awesome, but why javascript for a shell utility? :(



Awesome! 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.


You weren't the one being rude. I've got thick skin, and you made a good point anyway. Glad you like it. :-)


Because it’s 2018 and

    while true; do wc foo; done 
Doesn’t get attention from hipster developers.


Or 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.


So, 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.


This comment chain was really uncalled for and quite rude. There’s no need to turn technical criticisms into direct personal attacks on someone sharing his work.


No, I write utilities that make my life easier. I'm open to that combination though.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: