#!/bin/sh - url=http://www.dict.org/bin/Dict q='Form=Dict1&Strategy=*&Database=*&Query=' # dict - simple command line front-end to the MIT dictionary server # Steve Kinzler, kinzler@cs.indiana.edu, May 04 # http://www.cs.indiana.edu/~kinzler/home.html#unix case "$#,$1" in 0,*|*,-h) echo "usage: $0 word" 1>&2; exit 1;; esac br=__________________________________________________ lynx -dump -nolist "$url?$q`echo $* | sed 's/ /+/g'`" | sed "1,/$br/d" | tac | sed "1,/$br/d" | tac | cat -s