aboutsummaryrefslogtreecommitdiff
path: root/games/squ.awk
diff options
context:
space:
mode:
Diffstat (limited to 'games/squ.awk')
-rw-r--r--games/squ.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/squ.awk b/games/squ.awk
index abd16934..be72a3b6 100644
--- a/games/squ.awk
+++ b/games/squ.awk
@@ -1,5 +1,5 @@
# Make a reduced Latin square out of each line of input
-l = length {
+l = length($0) {
str = toupper($0)
for (j = 0; j < l; j++)
for (k = 0; k < l; k++)