Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/thesaurus/thesaurus.backup

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

hget 'http://thesaurus.reference.com/search?q='^$1 |
	htmlfmt -l 1000 |
	sed -n '
		1,/^[0-9]+ entries found for/d
		/ADVERTISEMENT/,$d
		1,/^$/d
		s/^Entry://p
		/^Source:/{
			N
			d
		}
		/^[A-Z][a-z]*:/{
			N
			s/\n/	/gp
		}
	'



Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].