rubysecurity.org

Anecdotes from a Linux Systems Administrator. /root

Home About Books Blog Portfolio Archive
25 April 2015

Spell check from the command line

by Alpha01

I was pleasantly surprise to learn about a utility which lets you spell check text files or any string passed as standard input, directly from the command line. The name of this genius tool is spell.

Examples

Example 1

tony@alpha05:~$ echo "What the fuc or what the fuck" | spell
fuc

Example 2

tony@alpha05:~$ cat test.txt 
Fuck thi shit.
tony@alpha05:~$ spell test.txt 
thi
Tags: [ bash ]