aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Linskey2026-06-07 12:39:59 -0400
committerBenjamin Linskey2026-06-07 19:50:56 -0400
commit2aa8ed870cb212328563b8a300b3a3b6754ce4e6 (patch)
tree901c016c0c1279b4f3878acad758c5bb046d9d78
parent17f146903eb94c930371a40a5f018520fe9a9f6b (diff)
downloadtpl-2aa8ed870cb212328563b8a300b3a3b6754ce4e6.tar.gz

Rename command to “tpl”

-rw-r--r--README.md4
-rwxr-xr-xtest.sh2
-rwxr-xr-xtpl (renamed from template)6
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 27db4c4..a4e9224 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ 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
command:
- ./template example/vars example/text.tpl
+ ./tpl example/vars example/text.tpl
The result will be written to stdout.
@@ -43,7 +43,7 @@ will be of little interest to most users.
The program may be invoked as follows:
- `template [variable file] [template file...]`
+ `tpl [variable file] [template file...]`
The variable file will be parsed, the variables defined within will be
substituted for all apperances of corresponding template variables that appear
diff --git a/test.sh b/test.sh
index 8bcf248..afd6a94 100755
--- a/test.sh
+++ b/test.sh
@@ -4,7 +4,7 @@
# is sufficient to verify the behavior we care about. Prints diff and exits
# non-zero on error.
-./template example/vars example/text.tpl > output.tmp
+./tpl example/vars example/text.tpl > output.tmp
diff output.tmp - <<-eof
My favorite food is pizza, and my favorite beverage is coffee.
diff --git a/template b/tpl
index 0da7445..0db0604 100755
--- a/template
+++ b/tpl
@@ -14,11 +14,11 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-# template: An extremely simple general-purpose templating tool.
+# tpl: An extremely simple general-purpose templating tool.
#
-# Usage: template [variable file] [template file...]
+# Usage: tpl [variable file] [template file...]
#
-# More info: https://git.linskey.org/template
+# More info: https://git.linskey.org/tpl
BEGIN { FS = "[[:space:]]*=[[:space:]]*" }