Re: Text::Aspell



On 11 Sep 2007 at 10:04, Chas Owens wrote:

On 9/11/07, Beginner <dermot@xxxxxxxxxxxxxxxx> wrote:
snip

Please do not type error messages. Copy and paste them instead.
Actually the rule should be, "don't type anything but your
commentary".

snip

mkdir temp
cd temp
echo Aberystwyth >> words
echo Perl >> words
echo FOO >> words
echo abcdfooblahsmack >> words
aspell --lang=en create master ./dict.local < words

then create the perl script I mentioned in a previous email and try to
run it, and this is the important part, in the directory you just
created.

-bash-3.00$ mkdir temp
-bash-3.00$ cd temp
-bash-3.00$ echo Aberystwyth >> words
-bash-3.00$ echo Perl >> words
-bash-3.00$ echo FOO >> words
-bash-3.00$ echo abcdfooblahsmack >> words
-bash-3.00$ aspell --lang=en create master ./dict.local < words
-bash-3.00$vi chas.pl
....snip

-bash-3.00$ perl chas.pl
Use of uninitialized value in array element at chas.pl line 18.
Aberystwyth not found
Use of uninitialized value in array element at chas.pl line 18.
Perl not found
Use of uninitialized value in array element at chas.pl line 18.
FOO not found
Use of uninitialized value in array element at chas.pl line 18.
bar not found
Use of uninitialized value in array element at chas.pl line 18.
abcdfooblahsmack not found


snip
3) Oh Oui :-\
snip
It isn't a question of if you will
accidentally wound yourself, but more of when are you going to kill
yourself.

All done under my mortal login.

-bash-3.00$ find /usr/lib/perl5 -name "Aspell*" -ls

4096 Jul 6 19:20 /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-
multi/auto/Text/Aspell
93685 Jul 6 19:20 /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-
multi/auto/Text/Aspell/Aspell.so
0 Jul 6 19:20 /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-
multi/auto/Text/Aspell/Aspell.bs
11139 May 3 05:59 /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-
multi/Text/Aspell.pm

My version of Aspell is 0.60.5. My version of Text::Aspell is 0.08.

I believe I am doing everything that the docs ask and you have
suggested. I think my installation might be broken some how. Would
you agree?

Thanx,
Dp.


.



Relevant Pages

  • Re: Text::Aspell
    ... Please do not type error messages. ... Use of uninitialized value in array element at chas.pl line 19. ... echo Aberystwyth>> words ...
    (perl.beginners)
  • RE: Proxy server hit... Any ideas?
    ... More so just using it as another server to add to their list. ... echo Compiling New Security Policy ... ... echo >> temp ... This list is provided by the SecurityFocus ARIS analyzer service. ...
    (Incidents)
  • Proxy server hit... Any ideas?
    ... echo Compiling New Security Policy ... ... echo >> temp ...
    (Incidents)
  • Re: How to through a semicolon separated list in a string
    ... call's or use delayed expansion Delayed expansion ... an echo status being displayed when the contents of the var is empty. ... >& simply a distinct command separator (which is what unconditional ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Reuse of Values in Variables as Variables! #!/bin/sh
    ... that the "#!/bin/sh" does not represent the bourne shell. ... "nameref variables" and the "array element enumerator" operator ... do echo $n ... typeset -n i ...
    (comp.unix.shell)