Show HN: Hacker News without leaving your terminal
I put this together since I find myself switching away from the terminal to see if anything new popped up in HN. There might be similar ones out there, didn't bother looking. It was a quick experiment, which might end up with a few more features.
(
27 comments
| 25 points
| on HN
)
Certainly a nice way to follow HN, the only advantage with the website, it to have gray links on already visited links. That's mainly why I don't use it anymore.
I'm running plain old terminal on OS X.
(oh, and not to be picky, but that should be "your", not "you're")
http://www.macterm.net/
As far as the original code is concerned, using "perl" may be slightly more portable than "sed -E".
Note that in order to work on Mac OS X, the word "wget" should change to "curl" in the script. (Otherwise it works exactly as-is.)
You have committed an egregious atrocity: you parse XML with a regex.
Please read this classic post: http://goo.gl/wPtKX
Thank you, Internet