7. aspell
-
Plain text files:
echo 'The quick brown fox jimped over the lazy dog.' > foo.txt
cat foo.txtaspell check foo.txtcat 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.htmlcat foo.htmlaspell check foo.htmlcat foo.htmlIf the extenssion of the file is not
.htmlwe can force the html mode with the-Hoption.aspell --help | less
Download lesson07/part7.cast
Loading asciinema cast...