shithub: bin.rc

ref: 7888f0d7ab5dbd4f0a92cef3730590a4c7b9bea8
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'