shithub: bin.rc

ref: 32dae5e4a11c5d7876ce45d221930f84d37e83e2
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'