Just create a new file like "vim leo".
Insert the following script code:
while [ -n "$1" ]; do
lynx -source "http://dict.leo.org/?search=$1"|\
grep results >$T
w3m -dump $T
[ -n "$1" ]&&\
while read -ep dict2\> W; do
You need lynx and w3m.
Make the file executable (chmod +x leo)
e.g. ./leo Übersetzung
I have found this script somewhere in the internet but I don't know where, so I can not refrence to the original source. I apologize for this.