to insist on the spelling of the word.
to provide a replacement spelling
If the invoker insists on the spelling of the word, then this word is added to wordspell's "memory". wordspell remembers words in the file "memory" in the invoker's home directory. Any further invocation of wordspell by the same invoker will consider the word to be correct.
I am getting these errors with my code:
./wordspell: line 9: syntax error near unexpected token `newline'
./wordspell: line 9: ` set choice = $<'
#/bin/csh touch ~/memory.txt while (`ispell -l ~/memory -l < $1`) echo "$1 is mispelled" echo -n "Press enter to keep this spelling, or" echo -n "type a correction here: " set choice = $< if (choice== "" )then ispell -I else ispell -R choice >> ~/memory.txt endif end
Can anyone help me understand what im doing wrong?
And since my script wont even run I cant find out if it works or not so if see see any errors in my script can you point them out to me.