January 2004
Intermediate to advanced
368 pages
7h 25m
English
This script, webspell, is an amalgamation of ideas presented in earlier scripts, particularly Script #27, Adding a Local Dictionary to Spell, which demonstrates how to interact with the aspell spelling utility and how to filter its reported misspellings through your own list of additional acceptable words. It relies on the lynx program to pull all the text out of the HTML of a page, either local or remote, and then feeds the resultant text to aspell or an equivalent spelling program.
#!/bin/sh # webspell - Uses the spell feature + lynx to spell-check either a # web page URL or a file. # Inevitably you'll find that there are words it flags as wrong but # you think are fine. Simply save them ...
Read now
Unlock full access