Fixed helper methods and implemented solving method.
committed 13 years ago
Unverified
155ff60db50c0f914d258b191a54f6a3b755206a
Fixed bug where comment lines would offset target row when reading input.
committed 13 years ago
Unverified
ca3319cf1a683491e348d9db9f2a242d9f9c244f
Added printing function.
committed 13 years ago
README
The README file for this repository.
SudokuSolver.awk
Description
Command-line sudoku puzzle solver written in awk.
Written as a learning exercise and a demonstration for my classmates.
So far, works in Gawk, Nawk, and Plan 9 Awk.
Invocation
See ./SudokuSolver.awk -- -h.
-- argument necessary to avoid having Awk treat options like -h as
options for it to parse. GNU --exec is not portable, hence the reason why
-- is encouraged. You don't need to escape the input file by putting it
after the --.