Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Hacker News in the Terminal.
curl https://news.ycombinator.com | sed 's|<[^>]*>||g'
getting somewhereish, I only have a slight understanding of regex to be honest :)
curl https://news.ycombinator.com | sed 's|<[^>]*>|-|g' | sed -e 's/-------/\'$'\n/g'
curl https://news.ycombinator.com | sed 's|<[^>]*>|-|g' | sed 's|------------|-|g' | sed -e 's/-------/\'$'\n/g'
There are no comments on this comment yet.
getting somewhereish, I only have a slight understanding of regex to be honest :)
...