TEMP=`mktemp /tmp/nw-shell-XXXXXX`
~/hg/new-words/new-words-py.sh -n -l de "$1" | grep -v '^#' > "$TEMP"
rlwrap -f "$TEMP" sh -c '
    while true; 
    do 
        printf "\033[01;33m > " ;
        read word options || { exit; printf "\033[00m" ; } ;
        printf "\033[00m" ;
        de $word; 
    done'
rm $TEMP