I was just talking to my colleague Pete about how useful Google’s "Did you mean?" feature is as a spell checker. It comes up with much better suggestions than other systems. So here is a quick lunchtime hack that uses the little-known Lynx browser -dump command and some Perl to make a commandline spell check tool. Let’s say I forgot how to spell my own name. I could type the following and get a did you mean suggestion form Google
$ q=charlieharvee;lynx -dump https://www.google.com/search?q=$q | grep -e 'the original' | perl -nE 's/.*\]([^\.]+)\..*/$1/;print'
Just change the q=charlieharvee to q=whateveryouwanttolookup and you’re away. Of course this would be a nice thing to make into a proper Bash script but I like the aesthetic of the oneliner!