440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
X's   {key13}


A command line crossword solving assistant

MacOsxHints

Thursday February 28, 2008. 04:30 PM
MacOsxHints

I'd been looking for a simple way to leverage OS X's built-in Unix dictionary to solve crossword clues, and came up with this little gem of a script: #!/bin/bash echo -n "Please enter a word pattern to search for (use a . for unknowns): " read text echo `grep -w $text /usr/share/dict/words` Just paste into your text editor of choice, save somewhere, make sure to chmod +x the file and boom, you have yourself a very simple crossword solver! Granted it isn't perfect, but it's a good start. [robg adds: Just to clarify, the Unix dictionary isn't the same as the built-in dictionary you access through the Dictionary program. While the Unix words file does hold a large number of words, it doesn't have everything you'll find in Dictionary app.]
been looking simple leverage built-in Unix dictionary solve crossword command line crossword solving assistant
A command line crossword solving assistant Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/242772488/article.php

 

 Related News 
Fix non-responsive Office 2008 Setup Assistant Fix non-responsive Office 2008 Setup Assistant
 MacOsxHints 03/11/08 03 PM 
iPhone?s contribution to Apple?s bottom line will be profound iPhone?s contribution to Apple?s bottom line will be profound
 Mac Daily News 03/04/08 05 PM 
10.5: Maximize a docked window via Command-Tab 10.5: Maximize a docked window via Command-Tab
 MacOsxHints 03/03/08 04 PM 
Network World: Comcast paid people to stand in line at FCC he... Network World: Comcast paid people to stand in line at FCC he...
 Mac Central 02/27/08 05 PM 
Analysis: The end of the line for Xserve RAID Analysis: The end of the line for Xserve RAID
 Mac Central 02/19/08 11 PM 
10.5: Disable Space switching on Command-Tab in 10.5.2 10.5: Disable Space switching on Command-Tab in 10.5.2
 MacOsxHints 02/13/08 04 PM 
News: Tinbot intros new line of iPod cases News: Tinbot intros new line of iPod cases
 iPod Lounge 02/13/08 03 PM 
OWC Announces Line Of XSERVE Memory Of Up To 32GB OWC Announces Line Of XSERVE Memory Of Up To 32GB
 AppleLinks 02/13/08 05 AM 
Update for iLife 8.2 assistant + Aperture Update for iLife 8.2 assistant + Aperture
 Mac Bidouille 02/12/08 10 PM 
OWC announces line of Xserve Memory up to 32GB OWC announces line of Xserve Memory up to 32GB
 Mac Minute 02/12/08 09 PM 
Early adopter issues: MacBook Air and Migration Assistant Early adopter issues: MacBook Air and Migration Assistant
 AppleInsider 02/08/08 03 PM 
Apple's tips for solving iTunes freezes Apple's tips for solving iTunes freezes
 MacFixIt 02/08/08 12 AM 
First Look: MacBook Air Migration Assistant First Look: MacBook Air Migration Assistant
 MacNN 02/07/08 11 PM 
ipodlist 3.0  Command Line Tool To Backup/Restore iPod Music ... ipodlist 3.0 Command Line Tool To Backup/Restore iPod Music ...
 AppleLinks 02/05/08 07 AM 
TUNEWEAR announces TUNESHELL iPod case line TUNEWEAR announces TUNESHELL iPod case line
 Mac Minute 02/01/08 02 PM 
Tunewear unveils entire Tuneshell iPod line Tunewear unveils entire Tuneshell iPod line
 MacNN 02/01/08 06 AM 
SubRosaSoft updates Salvage line for Leopard SubRosaSoft updates Salvage line for Leopard
 Mac Central 01/31/08 04 PM 
Order iChat's Window menu Command key shortcuts Order iChat's Window menu Command key shortcuts
 MacOsxHints 01/30/08 04 PM 
Asus expands Eee line Asus expands Eee line
 InsanelyGreatMac 01/30/08 03 PM 
Panasonic expands Lumix digital camera line Panasonic expands Lumix digital camera line
 Mac Central 01/29/08 10 PM 
News: iPod classic 1.1 line out voltage bug reported News: iPod classic 1.1 line out voltage bug reported
 iPod Lounge 01/28/08 08 PM 

Search

Mac Zicos
Wed December 3, 08:32 AM
X's   {key13}