shithub: bin.rc

ref: f6706e1759c3e16f6f710ac897b7aa1cb5e22fa4
dir: /bin/thes/

View raw version
#!/bin/rc
url=https://www.merriam-webster.com/thesaurus
word=`{echo $"* | sed 's/[ 	]/\+/g'}
if(~ $#word 0)
	exit
hget $url/$word | htmlfmt | ssam '0,/^Thesaurus/+ d
/^Learn More/-3,$ d'