spell check
i have a file called file1 and i want to check the spelling of its contents
i wrote Code:
spell file1 i am using fedora 12 is there any other command for this |
Try
Code:
yum search spell Code:
yum install <packagename> |
spell was not working
so i did Code:
ispell filename but i want to redirect output of this to a file named result so i did Code:
ispell filename > result is there any other method to do this |
What does it do when you type 'ispell filename'? Does it pop up an ncurses interface (ie. an interactive interface made out of characters, on the terminal) or just print out normal output, returning to a prompt?
|
it shows interactive interface to correct the spellings
|
Right, that is why you can't get any output to the pipe - I don't know the ins and outs of it, but if you've got an interactive interface, then it doesn't output stuff in a way that you can redirect to a file. You should be able to run:
Code:
cat filename | ispell list > result Code:
cat filename | ispell list | sort | uniq > result |
hii Snark1994
wht is this list of ispell list is it the filename??? |
No, "ispell list" is the command, which prints out a list of the words in the file which are spelt wrong :)
|
All times are GMT -5. The time now is 03:41 PM. |