>>>>> "Russell" == Russell Jones <r...@moz.com> writes:
Russell> Ideally, I would like to interact with aspell directly Russell> via the command line rather than through an external file Russell> or interactive pipe mode so that I can easily capture the Russell> output Russell> something like... Russell> aspell -w basball Russell> Or do I really have to create a 1-line file with that Russell> word in it and then run aspell -c file.txt to check that Russell> one word? You can use 'aspell -a' e.g. echo basball | aspell -a traverso@iro:~$ echo basball | aspell -a @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.7-20110707) & basball 11 0: baseball, baseballs, basally, basal, barbell, baseball's, Babel, Basel, Basil, babel, basil traverso@iro:~$ echo basball | aspell -a @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.7-20110707) * traverso@iro:~$ Assuming of course that you want to handle the suggestions. If you want just to check if a word is OK, you can use 'aspell list', e.g. traverso@iro:~$ echo basball | aspell list basball traverso@iro:~$ echo baseball | aspell list traverso@iro:~$ Carlo Traverso _______________________________________________ Aspell-user mailing list Aspell-user@gnu.org https://lists.gnu.org/mailman/listinfo/aspell-user