Sponsored Content
Full Discussion: spelling check program
Top Forums Shell Programming and Scripting spelling check program Post 43505 by oombera on Tuesday 18th of November 2003 02:12:51 PM
Old 11-18-2003
Re: spelling check program

Quote:
Originally posted by hyo77
if spell command is not allowed to use.
And why can't the "spell" command be used?

However, here's a hint: https://www.unix.com/showthread.php?s...1798#post42539
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check if a program runs on unix

Hi guys, I had a question last week where I asked how I check from a website hosted on windows if a process is running on on of our unix servers. Vino and Shell Life kindly replied with a perl script: if qm') -gt 0 ] ; then echo "Site is up" else echo "Site is down." # start the... (1 Reply)
Discussion started by: drchris
1 Replies

2. Programming

how to check memory leak in C program under Unix

Hi, How to detect memory leak in C program under unix ? Thanks (6 Replies)
Discussion started by: useless79
6 Replies

3. Shell Programming and Scripting

spell check program

hi, i need to write a spell check program in bash to find all possible spelling errors in a file or a number of files taken as input using usr/dict/words. whenever the program encounters a spelling error, it must state the line number at which the incorrect spelling has occured and... (1 Reply)
Discussion started by: kratos.
1 Replies

4. Shell Programming and Scripting

bash script to check if a program is running

I'm a bit new to bash programming and I was assigned the job of writing a script that will check to see if a program server is running and to restart the program if it is not up. The script is supposed to check the program every hour (which I have looked up and I believe I know how to do) and send... (3 Replies)
Discussion started by: mcknz
3 Replies

5. UNIX for Dummies Questions & Answers

Check spelling between two files

Hello, so I was wanting to find a way to check the spelling between two files to see if the terms in both were spelled correctly. However, this won't be for normal words, but for special terms, like "1732_1", to see if it is spelled the same way in one file as in the other, instead of "1732_1" in... (2 Replies)
Discussion started by: Scatterbrain26
2 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 12:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy