sdcv

From Wikipedia, the free encyclopedia
Jump to: navigation, search

sdcv developed by Evgeniy A. Dushistov and HuZheng, is the command line version of StarDict. It can employ all the dictionary files that belong to StarDict.

The word sdcv stands for StarDict under Console Version.

It is licensed under the terms of the GNU General Public License.

Supported Platforms[edit]

sdcv runs under Linux, FreeBSD, and Solaris. Dictionaries of the user's choice are installed separately and this is the same as StarDict.

Main Usage[edit]

Synopsis[edit]

sdcv [ options ] [list of words]


Use "-h" option to view the message of whole options.

Description[edit]

sdcv is simple, cross-platform text-base utility for work with dictionaries in StarDict's format. The word from "list of words" may be string with leading '/' for using Fuzzy search algorithm, string may contain '?' and '*' for using regexp search. It works in interactive and non-interactive mode. Press Ctrl+D to exit from interactive mode.

Environment[edit]

STARDICT_DATA_DIR
If set, sdcv uses this variable as data directory. In this example sdcv searches dictionaries in $STARDICT_DATA_DIR/dic.

Advantages[edit]

Sometimes, we need to search for a certain pattern or example sentence from the dictionaries. sdcv along with text filter tools such as awk, sed, grep, and so on to will, of course, be very helpful.

See also[edit]

External links[edit]