diff options
| author | Benjamin Linskey | 2026-06-07 04:09:16 -0400 |
|---|---|---|
| committer | Benjamin Linskey | 2026-06-07 04:09:16 -0400 |
| commit | 51a5170e1cc01c6e2e9faf0ed64273094788fea4 (patch) | |
| tree | 181067c1f5d66dedd8683c36f55c53d558bdf535 | |
| parent | 9e19dd2f89faf09d8b2fdc2926456d3de76738a2 (diff) | |
| download | tpl-51a5170e1cc01c6e2e9faf0ed64273094788fea4.tar.gz | |
Make a pedantic change to example text
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | example/text.tpl | 4 | ||||
| -rwxr-xr-x | test.sh | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -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. @@ -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=$? |