1SDCV(1) General Commands Manual SDCV(1)
2
3
4
6 sdcv - console version of StarDict program
7
9 sdcv [ options ] [list of words]
10
12 sdcv is simple, cross-platform text-base utility for work with dictio‐
13 naries in StarDict's format. The word from "list of words" may be
14 string with leading '/' for using Fuzzy search algorithm, with leading
15 '|' for using full-text search, string may contain '?' and '*' for
16 using regexp search. It work in interactive and not interactive mode.
17 To exit from interactive mode press Ctrl+D. In interactive mode, if
18 sdcv was compiled with readline library support, you can use UP and
19 DOWN keys to work through history.
20
22 -h --help
23 display help message and exit
24
25 -v --verbose
26 display version and exit
27
28 -l --list-dicts
29 display list of available dictionaries and exit
30
31 -u --use-dict filename
32 for search use only dictionary with this bookname
33
34 -n --non-interactive
35 for use in scripts
36
37 --utf8-output
38 Force sdcv not use conversation to locale charset, output in
39 utf8
40
41 --utf8-input
42 Force sdcv not use conversation from locale charset, suppose
43 that input in utf8
44
45 --data-dir path/to/directory
46 Use this directory as path to stardict data directory. This is
47 mean that sdcv search dictionaries in data-dir/dic directory.
48
50 /usr/share/stardict/dic
51
52 $(HOME)/.stardict/dic
53
54 Place, where sdcv expect to find dictionaries. Instead of
55 /usr/share/stardict/dic you can use everything that you want,
56 just set STARDICT_DATA_DIR environment variable. For example,
57 if you have dictionaries in /mnt/data/stardict-dicts/dic, set
58 STARDICT_DATA_DIR to /mnt/data/stardict-dicts.
59
60 $(HOME)/.sdcv_history
61
62 This file include last $(SDCV_HISTSIZE) words, which you seek
63 with sdcv. SDCV use this file only if it was compiled with
64 readline library support.
65
66
68 Environment Variables Used By sdcv:
69
70 STARDICT_DATA_DIR If set, sdcv use this variable as data directory,
71 this is mean that sdcv search dictionaries in
72 $STARDICT_DATA_DIR\dic
73
74 SDCV_HISTSIZE If set, sdcv wrote in $(HOME)/.sdcv_history only
75 last $(SDCV_HISTSIZE) words, which you seek using
76 sdcv. If it is not set, then last 2000 words saved
77 in $(HOME)/.sdcv_history.
78
79 SDCV_PAGER If SDCV_PAGER is set, its value is used as the
80 name of the program to use to display the dictio‐
81 nary's article.
82
84 Email bug reports to dushistov at mail dot ru. Be sure to include the
85 word "sdcv" somewhere in the "Subject:" field.
86
88 Evgeniy A. Dushistov, Hu Zheng
89
91 stardict(1), http://sdcv.sourceforge.net/, http://stardict.source‐
92 forge.net
93
94
95
96sdcv-0.4.2 2006-04-24 SDCV(1)