edict-grep - search EDICT files with specific queries
Contents
Description
The edict-grep command is used to search the EDICT file(s) for specific queries based on various options.
Examples
If you use multiple queries, it is like an AND search. For example:
$edict-grepcoldwar
will match all entries mentioning both 'cold' and 'war'. To search for an exact sentence, use shell
escaping:
$edict-grep'coldwar'
(and consider -e).
Name
edict-grep - search EDICT files with specific queries
Notes
Be sure to put the queries only AFTER all options!
Options
-c Match only common entries.
-w Word match; each English query must match whole words only.
-e Exact match; each query must match an entire EDICT field.
-s Make English queries case-sensitive (default is insensitive).
-fEDICT_FILE
Path to EDICT file (default: /usr/share/edict/edict). This program assumes EDICT is in the
original EUC-JP encoding.
-c Current terminal character encoding (default: UTF-8).
-h Show this message.
Synopsis
edict-grep [options] <query>...
