This is an extremely simple script that runs in Linux terminal. It grabs your word and opens a URL to Whitaker's Latin Dictionary to fetch it. No install is required.
latin.sh
Grant executable permissions:
Run and search for amo:
Result:
I'll be taking a look at perhaps making Perseus do the same.
Enjoy!
latin.sh
Code:
#!/bin/sh
URL="http://www.archives.nd.edu/cgi-bin/wordz.pl?keyword=$1"
wget -q -O- "$URL" | awk 'NR>3 {print prev} {prev = $0}' | grep -o '[^,]*$'
Code:
$ chmod +x latin.sh
Code:
$ ./latin amo
Code:
am.o V 1 1 PRES ACTIVE IND 1 S
amatus V [XXXAO]
like; fall in love with; be fond of; have a tendency to;
I'll be taking a look at perhaps making Perseus do the same.
Enjoy!