Sujet : Re: spell command
De : news0009 (at) *nospam* eager.cx (Bob Eager)
Groupes : comp.unix.bsd.freebsd.miscDate : 02. May 2025, 21:02:53
Autres entêtes
Message-ID : <m7kmndFh72vU18@mid.individual.net>
References : 1 2 3 4 5
User-Agent : Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2)
On Fri, 02 May 2025 17:28:48 +0000, John Levine wrote:
According to Bob Eager <news0009@eager.cx>:
On Fri, 02 May 2025 12:26:46 +0000, John D Groenveld wrote:
>
In article <m7iapjFh72vU15@mid.individual.net>,
Bob Eager <news0009@eager.cx> wrote:
Exactly, as I said. Just renamed as bspell, presumably to avoid (or
cause)
confusion!
The OP might benefit from just installing from upstream.
$ pkg rquery '%w' bsd-spell https://github.com/gbergling/bsdspell
<URL:https://github.com/gbergling/bsdspell/blob/main/Makefile>
| # Build targets | all: spell deroff
John groenveld@acm.org
>
Or just 'pkg install bsd-spell'
IF you run bspell, it immediately complains that it can't find
/usr/share/dict/stop, If you touch that name to make an empty file, now
it says
spellprog: /usr/share/dict/stop: Invalid argument
No matter what badly spelled stuff I feed it, it produces no output.
While I can believe that the intention may be that it's the old spell
program, the reality appears otherwise.
You are probably right.
The fix is to make the stop list file non-empty. I added one line
containing just 'a' and it seems to work.
Yes, the diagnostic is terrible.
Turns out that there *is* a stop list, in /usr/local/share/dict/stop, and
that is a real one. But that's supposed to be the local list. I think the
package should be installing that as the global list in /usr/share/dict/
stop, as that is searched for first.
-- Using UNIX since v6 (1975)...Use the BIG mirror service in the UK: http://www.mirrorservice.org