aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Linskey2026-06-07 04:09:16 -0400
committerBenjamin Linskey2026-06-07 04:09:16 -0400
commit51a5170e1cc01c6e2e9faf0ed64273094788fea4 (patch)
tree181067c1f5d66dedd8683c36f55c53d558bdf535
parent9e19dd2f89faf09d8b2fdc2926456d3de76738a2 (diff)
downloadtpl-51a5170e1cc01c6e2e9faf0ed64273094788fea4.tar.gz

Make a pedantic change to example text

-rw-r--r--README.md4
-rw-r--r--example/text.tpl4
-rwxr-xr-xtest.sh4
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index ce935c2..27db4c4 100644
--- a/README.md
+++ b/README.md
@@ -25,8 +25,8 @@ double braces:
My favorite food is {{ food }}, and my favorite beverage is
{{ beverage }}. I'm going to have {{ dinner }} for dinner tonight.
- The first three numbers are {{one}}, {{two}}, and {{three}}. {{one}} is
- the smallest of the three.
+ The first positive integers are {{one}}, {{two}}, and {{three}}. {{one}} is
+ the smallest of the three.
Then pass your variable file and template file, in that order, as arguments to
the `template` script. To see the examples above in action, run the following
diff --git a/example/text.tpl b/example/text.tpl
index 06adb72..2b5b826 100644
--- a/example/text.tpl
+++ b/example/text.tpl
@@ -1,5 +1,5 @@
My favorite food is {{ food }}, and my favorite beverage is {{ beverage }}.
I'm going to have {{ dinner }} for dinner tonight.
-The first three numbers are {{one}}, {{two}}, and {{three}}. {{one}} is the
-smallest of the three.
+{{one}}, {{two}}, and {{three}} are numbers. {{one}} is the smallest of the
+three.
diff --git a/test.sh b/test.sh
index 8ffec7b..8bcf248 100755
--- a/test.sh
+++ b/test.sh
@@ -10,8 +10,8 @@ diff output.tmp - <<-eof
My favorite food is pizza, and my favorite beverage is coffee.
I'm going to have pizza and coffee for dinner tonight.
- The first three numbers are 1, 2, and 3. 1 is the
- smallest of the three.
+ 1, 2, and 3 are numbers. 1 is the smallest of the
+ three.
eof
result=$?