GitXplorerGitXplorer
p

SudokuSolver.awk

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
95eeca88a2f40f4295d32de55133af6c4a065376

Added license.

committed 13 years ago
Unverified
beb91013b5632da8081ab06c43a1804f73b33d69

Added fix for exit status.

committed 13 years ago
Unverified
95bd24cf4df7b03ea04ec49b347f2ecffd60a7e2

Optimized out `oldValue = UNSET_CELL_FLAG`.

committed 13 years ago
Unverified
1269d7a504df18e90d88d90cd8c2b4b3fe771064

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 --.