Sponsored Content
Full Discussion: automate ispell
Operating Systems Linux SuSE automate ispell Post 302358305 by elblo on Friday 2nd of October 2009 04:47:32 AM
Old 10-02-2009
I thought deploy it by a shell script. The problem is that the interface of ispell isn't a command line interface and all the time I have to press a key to validate all corrections. This is what I want to automatize, a script that always "press" a key in the ispell interface. How? I don't know... Smilie Please help me!!Smilie
 

2 More Discussions You Might Find Interesting

1. SuSE

ispell

I tried to install ispell on my suse linux 8.2 do do spell cheking for my webmail but I issue rpm -Uvh ispell-3.2.06-266.i586.rpm i get the following error message error: failed dependencies: libc.so.6(GLIBC_2.3) is needed by ispell-3.2.06-266 I also try to install... (1 Reply)
Discussion started by: hassan2
1 Replies

2. Shell Programming and Scripting

quick ispell help

Hi, I am trying to write a script that calls ispell (my linux version doesn't have aspell) on a file and runs from there. Pretty much looks like this at the beginning: #!/bin/bash # script that will spell check a file read -p "Enter a file name: " fileName ispell fileName I just... (3 Replies)
Discussion started by: negzero7
3 Replies
POFILESPELL(1)															    POFILESPELL(1)

NAME
POFileSpell - checks the spelling in a collection of PO files SYNOPSIS
POFileSpell [OPTION] [...] [FILE] [...] INTRODUCTION
POFileSpell checks the spelling in a collection of PO files. COMMAND LINE OPTIONS
--help or -h show usage instructions --interactive or -i interactive mode, iterate through the spelling errors using a text mode interface; see the Interactive Mode section --overview or -o generate an overview file, grouping by error and not by file --dict=file or -d file load a file with a list of words to consider correct; can be used multiple times --batch-add=file load a file with a list of words to add to the X-POFile-SpellExtra section of each of the target PO files; can be used multiple times; when used, the actual spelling process is not run --command=command the command used for actually spell checking the text, by default aspell --encoding=utf-8 -l; if you want to use ispell, try something like --comand="ispell -l" or --comand="iconv -t iso-8859-1 | ispell -l" INTERACTIVE MODE
In interactive mode you iterate through each of the errors found. In each prompt you can press a to add the word to a file's X-POFile-SpellExtra entry, n to ignore all further errors from this file, Enter to ignore this error or, if you are using one or more dictionary files, the number of the file (1, 2, ...) to add the word to that dictionary file. PO FILE HEADER DIRECTIVES
POFileSpell recognizes one PO file header directive. As with all gettext lint tools, this directive is prefixed with X-POFile. X-POFile-SpellExtra: word adds the word to the file's list of accepted words DICTIONARY FILE FORMAT
Dictionary files are just lists of words, one on each line. For example: word 1 word 2 word n MORE INFORMATION
gettext-lint web page: http://gettext-lint.sourceforge.net/ AUTHOR
Pedro Morais. <morais@kde.org> 08/16/2006 POFILESPELL(1)
All times are GMT -4. The time now is 06:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy