Sdcv
Encyclopedia
sdcv developed by Evgeniy A. Dushistov and HuZheng, is the command line version of StarDict
StarDict
StarDict, developed by Hu Zheng , is a free GUI released under the GPL for accessing StarDict dictionary files . It is the successor of the program StarDic, developed by Ma Su'an...

. It can employ all the dictionary files that belong to StarDict
StarDict
StarDict, developed by Hu Zheng , is a free GUI released under the GPL for accessing StarDict dictionary files . It is the successor of the program StarDic, developed by Ma Su'an...

.

The word sdcv stands for StarDict under Console Version.

It is licensed under the terms of the GNU General Public License
GNU General Public License
The GNU General Public License is the most widely used free software license, originally written by Richard Stallman for the GNU Project....

.

Supported Platforms

sdcv runs under Linux
Linux
Linux is a Unix-like computer operating system assembled under the model of free and open source software development and distribution. The defining component of any Linux system is the Linux kernel, an operating system kernel first released October 5, 1991 by Linus Torvalds...

, FreeBSD
FreeBSD
FreeBSD is a free Unix-like operating system descended from AT&T UNIX via BSD UNIX. Although for legal reasons FreeBSD cannot be called “UNIX”, as the direct descendant of BSD UNIX , FreeBSD’s internals and system APIs are UNIX-compliant...

, and Solaris
Solaris Operating System
Solaris is a Unix operating system originally developed by Sun Microsystems. It superseded their earlier SunOS in 1993. Oracle Solaris, as it is now known, has been owned by Oracle Corporation since Oracle's acquisition of Sun in January 2010....

. Dictionaries of the user's choice are installed separately and this is the same as StarDict
StarDict
StarDict, developed by Hu Zheng , is a free GUI released under the GPL for accessing StarDict dictionary files . It is the successor of the program StarDic, developed by Ma Su'an...

.

Synopsis

sdcv [ options ] [list of words]



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

Description

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

STARDICT_DATA_DIR

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

Advantages

Sometimes, we need to employ text filter tools such as awk, sed
Sed
sed is a Unix utility that parses text and implements a programming language which can apply transformations to such text. It reads input line by line , applying the operation which has been specified via the command line , and then outputs the line. It was developed from 1973 to 1974 as a Unix...

, grep
Grep
grep is a command-line text-search utility originally written for Unix. The name comes from the ed command g/re/p...

, and so on, to search a certain pattern or example sentence from dictionary and sdcv will of cause be very helpful.

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK