Searching hacker news

1 · Shane Mulligan · Oct. 9, 2019, 4 p.m.
I create a script which can be used to search hacker news (or other sites) conveniently with title and contents queries. 1 2 3 4 5 6 7 eww "http://news.ycombinator.com" # How to search hacker news egr emacs site:news.ycombinator.com intitle:"email client" # terms -- title terms hn emacs -- email Create the script hn 1 2 3 4 5 6 #!/bin/bash export TTY ( hs "$(basename "$0")" "$@" "#" "<==" "$(ps -o comm= $PPID)" 0</dev/null ) &>/dev/null SITE=news....