Skip to content

WKHAllen/UnscrambleC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnscrambleC

A C program that unscrambles words.

Usage

To use the unscrambler, simply run the program and pass the scrambled word as the primary argument.

$ unscramble loelh
hello

If no word is provided, standard input will be used.

$ unscramble
> cats
  | acts
  | cast
  | cats
  | scat
> else
  | eels
  | else
  | lees
>
$

To exit the standard input prompt, provide no input.

Dictionaries

To use a different dictionary, use -d.

$ unscramble -d british-english locoru
colour

More dictionaries can be found on any Unix system.