about summary refs log tree commit diff stats
path: root/tet
diff options
context:
space:
mode:
Diffstat (limited to 'tet')
-rwxr-xr-xtet9
1 files changed, 9 insertions, 0 deletions
diff --git a/tet b/tet new file mode 100755 index 0000000..c97d677 --- /dev/null +++ b/tet
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3__template__="$1"; shift
4et="$(which et||echo ./et)"
5
6"$et" "$@" | sed '$d'
7echo 'shexpand<<%'
8cat "$__template__"
9echo %