[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    Re: [Aspell-user] aspell in "non-interactive" mode
From:       Ivan Ivanov <rambiusparkisanius () gmail ! com>
Date:       2005-03-28 14:45:49
Message-ID: 89ce7f7405032806454d06a98c () mail ! gmail ! com
[Download RAW message or body]

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
<aspell@artificialidea.com> 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
> Aspell-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/aspell-user
> 
> 
> 
>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic