tldr/pages/common/sdcv.md

34 lines
705 B
Markdown
Raw Normal View History

2021-07-07 20:33:01 +01:00
# sdcv
> StarDict, a command-line dictionary client.
> Dictionaries are provided separately from the client.
> More information: <https://manned.org/sdcv>.
- Start `sdcv` interactively:
2021-07-07 20:33:01 +01:00
`sdcv`
- List installed dictionaries:
`sdcv --list-dicts`
- Display a definition from a specific dictionary:
`sdcv --use-dict {{dictionary_name}} {{search_term}}`
2021-07-09 05:40:08 +01:00
- Look up a definition with a fuzzy search:
2021-07-07 20:33:01 +01:00
`sdcv {{search_term}}`
- Look up a definition with an exact search:
`sdcv --exact-search {{search_term}}`
- Look up a definition and format the output as JSON:
`sdcv --json {{search_term}}`
- Search for dictionaries in a specific directory:
`sdcv --data-dir {{path/to/directory}} {{search_term}}`