File: dicodconfig.alias

package info (click to toggle)
dico 2.12-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,300 kB
  • sloc: ansic: 94,671; sh: 52,520; lex: 4,023; tcl: 1,439; yacc: 1,439; makefile: 1,387; python: 1,310; perl: 1,200; lisp: 489; awk: 157; pascal: 127; javascript: 71; cpp: 50; fortran: 28; asm: 21; sed: 16; xml: 8
file content (16 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl -lp

# By default, dicodconfig uses the basename of the file in
# /usr/share/dictd as the name of the database.  This file is an
# executable filter that substitutes a preferred name for a dictionary
# in /var/lib/dicod/dictorg-db.list.  This name is displayed by the dico -D
# command and is used with the -d option of dico to request
# definitions from a specific dictionary instead of the default of all
# installed dictionaries.

# The format of each line is:
#          s/^<basename-of dictionary-file>/<preferred nickname>/;
# Lines preceded by a hash character (#) are ignored.
 
s/^freedict/fd/;
s/^gazetteer/gaz/;