Ivan, thank you for your answer. I also discovered it some days ago after I RTFMed. Now I am using aspell -a -t < file.tex | grep [^*]> file.log.
Regerds Ivan Ivanov On Mon, 28 Mar 2005 16:34:58 +0200, Ivan Villanueva <[EMAIL PROTECTED]> wrote: > On Mon, Mar 21, 2005 at 11:23:59AM +0200, Ivan Ivanov wrote: > > I would like to know if the following is possible. I want to run > > aspell in "non-interactive" mode, i.e. I want it to report the > > misspelt words and their locations in a given file (without prompting > > the user to correct them), so that the file with the reported errors > > be inspected at a later time. I played with > > aspell -a option, > > but I do not know whether it is suitable for me. I am using Aspell 0.50.3 > > In Linux you can just do: > cat a_text_file.txt | aspell -a > reported_errors_file.txt > > reported_errors_file.txt will contain a line for each error with the > location in a_text_file.txt (line and column), plus suggestions. For > instance of such a line for the misspelled word "berlin": > > & berlin 19 2: Berlin, beeline, Berlins, Berliner, Bellina, Bellini, > belling, Oberlin, Merlin, Berni, blini, Bering, Berlin's, Bern, baling, > byline, Belia, Berle, belie > > Iv�n Villanueva > > > _______________________________________________ > Aspell-user mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/aspell-user > > > > _______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user
