by znpy · 10y ago · 0 comments
curl "https://news.ycombinator.com/item?id=11881767" | grep -Po "[a-zA-Z0-9-]*-0\d{2}" | sort | uniq
better: curl "https://news.ycombinator.com/item?id=11881767" | grep -Po "[a-zA-Z0-9-]*-0\d{2}" | sort | uniq | awk '{print "# " $0}'
You might might want to update your script :)