Passa al contenuto principale

7. aspell

  1. Plain text files:

    echo 'The quick brown fox jimped over the lazy dog.' > foo.txt
    cat foo.txt
    aspell check foo.txt
    cat foo.txt
  2. HTML files:

    cat <<EOF > foo.html
    <html>
    <head>
    <title>Mispelled HTML file</title>
    </head>
    <body>
    <p>The quick brown fox jimped over the lazy dog.</p>
    </body>
    </html>
    EOF
    download
    wget https://linux-cli.fs.al/examples/lesson07/foo.html
    cat foo.html
    aspell check foo.html
    cat foo.html

    If the extenssion of the file is not .html we can force the html mode with the -H option.

    aspell --help | less
Loading asciinema cast...