#!/bin/rc rfork e if ( ! ~ $#* 1){ echo 'usage: slang term' exits 'usage' } pat=$1 upat=`{echo $pat | tr a-z A-Z} hget 'http://urbandictionary.com/define.php?term='^$pat^'&r=f' | htmlfmt | sed -n '/^[0-9]\. '^$upat^'/,/^$/p'