Another handy thing you can do in pico is chek yoor speling, as shown in Figures 4.7 and 4.8.
1. | pico hairyspiders At the shell prompt, type pico and the filename of the file to edit. |
2. | Pressing this command starts spell-checking the file. pico will stop at each misspelled word (Figure 4.7). |
3. | correctspelling Type in the correct spelling for any words flagged as misspelled, or press to accept the current spelling and move along to the next word. |
✓ Tips
Because the spell-checker in pico isn’t full-featured, consider using an alternate spell-check program by specifying it on the command line, like pico –s ispell hairyspiders, so you can get a little more assistance. See Chapter 15 for more information.
When the entire document has been spell-checked, pico will tell you that it’s done checking spelling, and you can continue editing the file (Figure 4.8).