7. aspell
-
Plain text files:
echo 'The quick brown fox jimped over the lazy dog.' > foo.txt
cat foo.txtaspell check foo.txt
cat foo.txt
-
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>
EOFdownload
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
Download lesson07/part7.cast
Loading asciinema cast...