|author||Tom Ryder <firstname.lastname@example.org>||2017-11-01 09:32:16 +1300|
|committer||Tom Ryder <email@example.com>||2017-11-01 09:33:43 +1300|
Add dfv(1df) version-printing tool
This is mostly just for fun, but could be handy later on when I'm playing with distributed or automated deployments of tagged and verified releases. Like a few of the other shell scripts, this is built by abusing my mi5(1df) wrapper to get static details baked into the shell script that are only known at runtime.
Diffstat (limited to 'bin')
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/dfv.mi5 b/bin/dfv.mi5
new file mode 100644
@@ -0,0 +1,8 @@
+# Print dotfiles version information
+ syscmd(`printf "Built on %s by %s@%s\n" "$(date)" "$(id -nu)" "$(uname -n)"')
+The next 1<<10 years are ours!