4 ms·
The dict protocol, and dict.org in particular, provides easy access to Webster's 1913 as well as other dictionaries. I normally use Webster's 1913 from the com
by literalusername 12y ago
The dict protocol, and dict.org in particular, provides easy access to Webster's 1913 as well as other dictionaries.
I normally use Webster's 1913 from the command line, since I usually have a terminal in front of me. I keep this in my .zshrc:
function dict () {
if [[ $1 == (d|m) ]]; then
curl dict://dict.org/$1:$2 | $PAGER
else
echo 'Unknown command. Use (d)efine or (m)atch.'
fi
}
That allows me to issue queries such as `dict d example` to define "example", or `dict m exampel` to figure out how "example" ought to be spelled.
- pandatigox 12y agodict protocol? As in http and FTP? That's so cool! Are there any more protocols to play around with?
- staunch 12y agodict ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp sftp smtp smtps telnet tftp
- gone35 12y agoOf course not every URI scheme corresponds one-to-one to a layer 7 protocol, but there's plenty of interesting stuff in this list nonetheless [1]. [1] http://www.w3.org/wiki/UriSchemes http://www.w3.org/wiki/UriSchemes
- deleted 12y ago[deleted]