shithub: bin.rc

ref: 3c724f5a03ba3846bce90e0fbc11e4f4e5b5e09a
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'