🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5959

Bug#1154490: wngerman: Please provide index file for dictd

#5959
From: Roland Rosenfeld
Date: Tue, 24 Nov 2026 17:10
75 lines
4519 bytes
Hi Matthias!

On Tue, 24 Nov 2026, Matthias Geiger wrote:

> do you perhaps know what exact format dictd expects?

No sorry, this is all two decades ago and I only took over what
Andreas Tille sent me, translated the python script to perl and was
done.

> I wrote the following awk oneliner to format openthesaurus.txt:
> 
> awk -F\; '{printf ": %s :\n", $1; printf "    %s;", $2;for (i = 3; i <= NF; i++) {printf "$i: %s; ", $i}; printf "\n"}' < openthesaurus-dict.txt > openthesaurus-dict-new

I'm not very familiar with reading awk. But when I run this on
openthesaurus.txt it returns:

: # OpenThesaurus - German Thesaurus in text format :
    ;
: # Automatically generated 2026-11-22 23:20 :
    ;
: # https://www.openthesaurus.de :
    ;
[...]
: Atomspaltung :
    Fission;$i: Kernfission; $i: Kernspaltung (fachspr., technisch); 
: Fortführung :
    Wiederaufnahme;
: abfahren :
    abfliegen;$i: abreisen; $i: aufbrechen; $i: davonbrausen; $i: davonfahren; $i: (von etwas) fortfahren; $i: wegfahren; $i: wegfliegen; $i: abdampfen (ugs.); $i: abdüsen (ugs.); $i: abhauen (ugs.); $i: abzischen (ugs.); $i: davonmachen (ugs.); $i: losfahren (ugs.); 
: Deputat... :
    Konzessions...;
: Kurs :
    Kursus;$i: Lehrgang; $i: Schulung; $i: Seminar; $i: Training; $i: Weiterbildung; $i: Workshop; 
[...]

The $i in this output looks broken and maybe you should filter out the
comments before.
Except this conv.pl doesn't insert whitespace between key words and
colons.


I'd expect something like

# OpenThesaurus - German Thesaurus in text format
# Automatically generated 2026-11-22 23:20
# https://www.openthesaurus.de
[...]
:Atomspaltung:
   Fission;Kernfission;Kernspaltung (fachspr., technisch)
:Fission:
   Atomspaltung;Kernfission;Kernspaltung (fachspr., technisch)
:Kernfission:
   Atomspaltung;Fission;Kernspaltung (fachspr., technisch)
:Kernspaltung:
   Atomspaltung;Fission;Kernfission (fachspr., technisch)
:Fortführung:
   Wiederaufnahme
:Wiederaufnahme:
   Fortführung
[...]

or the like.

See dictfmt(1) for more information about the required format of
"dictfmt -f".  Or maybe you want to switch to a different format?

Greetings
Roland
Technical Details
Message-ID: <O32bL-dUzW-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O1eAp-cVPV-1@gated-at.bofh.it> <O1tg5-d3zU-11@gated-at.bofh.it> <O1W8p-diHm-3@gated-at.bofh.it> <O2GXE-dIEw-47@gated-at.bofh.it> <O2I3o-dJhh-15@gated-at.bofh.it> <O309X-dToj-1@gated-at.bofh.it> <O1eAp-cVPV-1@gated-at.bofh.it> <O309X-dToj-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Roland Rosenfeld <roland@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154490: wngerman: Please provide index file for dictd
Date: Tue, 24 Nov 2026 18:10:01 +0100
Message-ID: <O32bL-dUzW-7@gated-at.bofh.it>
References: <O1eAp-cVPV-1@gated-at.bofh.it> <O1tg5-d3zU-11@gated-at.bofh.it> <O1W8p-diHm-3@gated-at.bofh.it> <O2GXE-dIEw-47@gated-at.bofh.it> <O2I3o-dJhh-15@gated-at.bofh.it> <O309X-dToj-1@gated-at.bofh.it> <O1eAp-cVPV-1@gated-at.bofh.it> <O309X-dToj-1@gated-at.bofh.it>
X-Original-To: Matthias Geiger <werdahias@riseup.net>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 17:03:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Roland Rosenfeld <roland@debian.org>, 1154490@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: rene@debian.org
X-Debian-Pr-Message: followup 1154490
X-Debian-Pr-Package: src:openthesaurus
X-Debian-Pr-Source: openthesaurus
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
User-Agent: Mutt/2.2.13 (2024-03-09)
X-Debian-User: roland
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004721
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 75
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1154490@bugs.debian.org
X-Original-Date: Tue, 24 Nov 2026 18:00:13 +0100
X-Original-Message-ID: <awXCnV0tSbPAvzgD@dinghy.sail.spinnaker.de>
X-Original-References: <179511073696.20658.4073163724932198703.reportbug@midgard.example.com> <awAS9nbdtw0Lf6t1@dinghy.sail.spinnaker.de> <tov1b3.1seooxtkizp67@riseup.net> <awSFwMbbaahoveVG@dinghy.sail.spinnaker.de> <toyzmj.35q6384ud9fyu@riseup.net> <tp0hb8.h3qgf6km1hia@riseup.net> <179511073696.20658.4073163724932198703.reportbug@midgard.example.com> <tp0hb8.h3qgf6km1hia@riseup.net>