Source

ircfs / plugins / define.brc


+cmd define

fn def {
 ifs=() {
  w3m -dump definefor.me/^`{ urlencode $* } |\
	awk '!/wordnik/ && NR>4'
 }
}

fn define {
 if (~ $text(1) [Dd][Ee][Ff]* ) {
  *=$text ; shift
  { def $* | awk '{print $0 ; system("sleep 1")}' } > $^inF
  # | sed '10q'
 }
}