gdcl is a command-line interface for searching GoldenDict dictionaries. A request for a command-line version is currently the third most commented issue on the GoldenDict issue tracker. This script is a very rudimentary workaround to allow searching through groups of dictionaries until an official command-line interface is available.
As an example of a similar interface, StarDict has sdcv (StarDict Console Version), but it can only handle dictionaries in the StarDict format. For users of GoldenDict who have dictionaries in other formats (e.g. DSL or BGL), converting and maintaining two parallel sets of dictionaries is not a practical solution.
This script answers a practical need: namely the ability to search through groups of dsl format dictionaries from the command-line over ssh. The script can be used search dictionaries interactively, but also has an interactive mode which allows results from GoldenDict dictionaries to piped to standard output or used as part of a toolchain.
Currently, gdcl does not require an installation of GoldenDict, as it simply searches through predetermined groups of dictionaries in the GoldenDict folder (which can be configured) and could conceivably be used to search through any collection of dsl format dictionaries. However, the eventual goal of the project is to read preferences from GoldenDict's config file, support the full range of formats that GoldenDict can use and, ideally, to use GoldenDict's pre-made index files for faster searching.