aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/squ.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/squ.awk b/games/squ.awk
index 85b0bf09..7fdd1b96 100644
--- a/games/squ.awk
+++ b/games/squ.awk
@@ -1,7 +1,6 @@
# Make a reduced Latin square out of each line of input
-{
+len = length {
str = toupper($0)
- len = length(str)
for (i = 1; i <= len; i++)
let[i - 1] = substr(str, i, 1)
for (j in let)