Last active
June 28, 2018 00:33
-
-
Save 1094/33a3dc86266fa0978424d9be3b23f4f4 to your computer and use it in GitHub Desktop.
sdcv search options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [[ $1 == "d" ]] ; then | |
sdcv --color -u 'WordNet' "Oxford Advanced Learner's Dictionary" 'dictd_www.dict.org_devils' $2 | more | |
elif [[ $1 == "t" ]] ; then | |
sdcv --color -u 'English Thesaurus' 'Concise Oxford Thesaurus 2nd Ed. (Eng-Eng)' $2 | more | |
elif [[ $1 == "e" ]] ; then | |
sdcv --color -u 'The Britannica Concise' $2 | more | |
elif [[ $1 == "l" ]] ; then | |
sdcv --color -u 'An Asperger dictionary of everyday expressions' 'The Idiom Connection (En-En)' 'English Dialects 3.0 (En-En)' $2 | more | |
elif [[ $1 == "-k" ]] ; then | |
sdcv --color -u 'Korean-English Dic' 'Korean Dic' 'Hanja(Korean Hanzi) Dic' $2 | more | |
elif [[ $1 == "-ek" ]] ; then | |
sdcv --color -u 'quick_english-korean' $2 | |
elif [[ $1 == "-ke" ]] ; then | |
sdcv --color -u 'Kor-Eng Dictionary' $2 | |
elif [[ $1 == "a" ]] ; then | |
sdcv --color $2 | more | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment