Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #67730
| From | Farley Flud <ff@linux.rocks> |
|---|---|
| Subject | Re: GNU/Linux Dictionaries |
| Newsgroups | comp.os.linux.advocacy, comp.os.linux.misc |
| References | <pan$7922f$6eb4c3d$7f68edca$65b0b535@linux.rocks> <eli$2505221814@qaz.wtf> <1842206401f7041e$1331$3972$802601b3@news.usenetexpress.com> <eli$2505231239@qaz.wtf> |
| Message-Id | <pan$8ae06$997ef156$4e369275$d0a52a8a@linux.rocks> |
| Date | 2025-05-23 18:59 +0000 |
| Organization | UsenetExpress - www.usenetexpress.com |
Cross-posted to 2 groups.
On Fri, 23 May 2025 16:39:39 -0000 (UTC), Eli the Bearded wrote: > > Web interface is not incompatible with done locally. You started this > with dict/dictd, which is a internet service. Just because it is an > internet service doesn't mean the client and the server can't be on the > same machine. I run a local webserver for local files and use either > Firefox or lynx to localhost to access them. But curl would also work. > Yes, dictd is based on the client-server model but it is possible to execute it locally on a one-shot basis. I use the following script: #! /bin/bash printf "define * \"$1\"\n" $1 | dictd -i Call the script "check-word" and it will start the daemon, look up the definition using the dictionaries specified in /etc/dictd.conf, print to stdout, and then terminate the daemon. -- Systemd: solving all the problems that you never knew you had.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
GNU/Linux Dictionaries Farley Flud <ff@linux.rocks> - 2025-05-22 19:23 +0000
Re: GNU/Linux Dictionaries "Carlos E. R." <robin_listas@es.invalid> - 2025-05-22 21:49 +0200
Re: GNU/Linux Dictionaries Farley Flud <ff@linux.rocks> - 2025-05-22 20:55 +0000
Re: GNU/Linux Dictionaries Eli the Bearded <*@eli.users.panix.com> - 2025-05-22 22:17 +0000
Re: GNU/Linux Dictionaries Farley Flud <fsquared@fsquared.linux> - 2025-05-23 10:13 +0000
Re: GNU/Linux Dictionaries Eli the Bearded <*@eli.users.panix.com> - 2025-05-23 16:39 +0000
Re: GNU/Linux Dictionaries Farley Flud <ff@linux.rocks> - 2025-05-23 18:59 +0000
Re: GNU/Linux Dictionaries Eli the Bearded <*@eli.users.panix.com> - 2025-05-23 21:45 +0000
Re: GNU/Linux Dictionaries Farley Flud <ff@linux.rocks> - 2025-05-24 11:37 +0000
Re: GNU/Linux Dictionaries Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-05-24 11:51 +0000
Re: GNU/Linux Dictionaries The Natural Philosopher <tnp@invalid.invalid> - 2025-05-24 14:37 +0100
Re: GNU/Linux Dictionaries Farley Flud <ff@linux.rocks> - 2025-05-24 20:35 +0000
Re: GNU/Linux Dictionaries Joel <joelcrump@gmail.com> - 2025-05-25 14:23 -0400
Re: GNU/Linux Dictionaries Farley Flud <fsquared@fsquared.linux> - 2025-05-23 10:18 +0000
Re: GNU/Linux Dictionaries John McCue <jmccue@magnetar.jmcunx.com> - 2025-05-24 12:16 +0000
csiph-web