aboutsummaryrefslogtreecommitdiff
path: root/games/kvlt
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-24 16:13:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-24 16:13:13 +1200
commit3f07897352bd819b974539a93959cd6bc74cd379 (patch)
tree40c3646253d07fb40cd3ddfffb8e784619cd8082 /games/kvlt
parentSeparate games out into own directory/targets (diff)
downloaddotfiles-3f07897352bd819b974539a93959cd6bc74cd379.tar.gz
dotfiles-3f07897352bd819b974539a93959cd6bc74cd379.zip
Add kvlt(6)
Diffstat (limited to 'games/kvlt')
-rwxr-xr-xgames/kvlt19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/kvlt b/games/kvlt
new file mode 100755
index 00000000..e15f713f
--- /dev/null
+++ b/games/kvlt
@@ -0,0 +1,19 @@
+#!/bin/sh
+# Type like a young black metal enthusiast
+cat -- "${@:-/dev/stdin}" | ## shellcheck disable=SC2002
+tr '[:lower:]' '[:upper:]' |
+sed '
+s,C\([^EH]\),K\1,g
+s,CE ,ZE ,g
+s,C$,K,g
+s,S,Z,g
+s,U,V,g
+s,O,0,g
+s, W, V,g
+s,^W,V,g
+s,\([A-Z]\)I,\1Y,g
+s,^THE ,DER ,g
+s, THE , DER ,g
+s,^OF ,OV ,g
+s, AND , UND ,g
+'