aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-01 21:54:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-01 21:54:35 +1200
commit48e7e3469c587eee590e3ef351003b276373c526 (patch)
treee0b7836747aa603b25515bbd21cd73d5ba9e86db
parentAdd squ(6df) (diff)
downloaddotfiles-48e7e3469c587eee590e3ef351003b276373c526.tar.gz
dotfiles-48e7e3469c587eee590e3ef351003b276373c526.zip
Correct type of square
-rw-r--r--games/squ.awk2
-rw-r--r--man/man6/squ.6df6
2 files changed, 5 insertions, 3 deletions
diff --git a/games/squ.awk b/games/squ.awk
index 0d8f9210..3cf3f57a 100644
--- a/games/squ.awk
+++ b/games/squ.awk
@@ -1,4 +1,4 @@
-# Make a square out of each line of input
+# Make a reduced Latin square out of each line of input
{
str = toupper($0)
len = length(str)
diff --git a/man/man6/squ.6df b/man/man6/squ.6df
index c3ae177e..f836f2cd 100644
--- a/man/man6/squ.6df
+++ b/man/man6/squ.6df
@@ -1,7 +1,7 @@
.TH SQU 6df "May 2017" "Manual page for squ"
.SH NAME
.B squ
-\- print a word square out of each line of input
+\- print a reduced Latin square made out of each line of input
.SH USAGE
.B squ
.br
@@ -22,7 +22,9 @@ O N L O N D
N L O N D O
.SH DESCRIPTION
.B squ
-makes a kind of letter square out of the characters on each line of input,
+makes a reduced Latin square [1] out of the characters on each line of input,
uppercasing them first.
+.SH SEE ALSO
+[1]: https://en.wikipedia.org/wiki/Latin_square#Reduced_form
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>