This file is indexed.

/usr/bin/skk2cdb is in skktools 1.3.3+0.20160513-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh
# skk2cdb: convert SKK dictionary file to cdb
# Author: Tatsuya Kinoshita <tats@debian.org>
# Unlimited permission is granted to use, copy, distribute and/or modify
# this file.  There is NO WARRANTY.
set -e

if [ $# -gt 2 ]; then
    echo "usage: ${0##*/} [ SKK-JISYO [SKK-JISYO-CDB]]" >&2
    exit 1
fi

CDB="`which cdb`" || CDB=""
if [ -z "$CDB" ]; then
    echo "${0##*/}: tinycdb's cdb command not found" >&2
    exit 1
fi

INFILE="$1"
OUTFILE="$2"

if [ -z "$INFILE" ]; then
    INFILE=/dev/stdin
fi
if [ -z "$OUTFILE" ]; then
    OUTFILE=/dev/stdout
fi

trap 'rm -f "$TMPFILE" "$TMPFILE2"' EXIT INT TERM
TMPFILE=`tempfile -p skk_ -s .tmp`
TMPFILE2=`tempfile -p skk_ -s .tmp.cdb`

LC_ALL=C awk '
    /^[^;]/ {
	s = substr($0, index($0, " ") + 1)
	print "+" length($1) "," length(s) ":" $1 "->" s
    }
    END {
	print ""
    }
' "$INFILE" | "$CDB" -c -t "$TMPFILE" "$TMPFILE2"
cat "$TMPFILE2" > "$OUTFILE"

exit 0