Skip to content
/ dict Public

Dictionary query tool written by bash script with Baidu tranlation API interface.

License

Notifications You must be signed in to change notification settings

whinc/dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

dict 介绍

dict 是使用 bash 脚本编写的一个命令行单词查询工具,使用百度翻译接口。

dict 安装

复制下面命令到终端中执行即可:

curl -# -O https://raw.githubusercontent.com/whinc/dict/master/dict.sh && chmod u+x ./dict.sh && mv ./dict.sh /usr/local/bin/ && ln -fs /usr/local/bin/dict{.sh,}

dict 使用

用法:dict [word]... 说明:如果只有一个单词,则翻译该单词。如果有超过一个单词,则视作句子进行翻译。

$ dict hello
你好

$ dict hello world
你好世界

About

Dictionary query tool written by bash script with Baidu tranlation API interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages