by ghawk1ns · 4y ago · 0 comments
$ rip() { curl -G -H 'Accept: text/plain' --url https://dontbeevil.rip/search --data-urlencode 'q=$@'}
$ rip heartbleed bug
rip() { curl -G -H 'Accept: text/plain' --url https://dontbeevil.rip/search --data-urlencode "q=$*"; }
(tested).I still support the point that there is no reason for this to be a (grammar-defying) alias rather than a (tame) shell function or even a separate script.