diff options
Diffstat (limited to 'tet')
-rwxr-xr-x | tet | 9 |
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 | ||
4 | et="$(which et||echo ./et)" | ||
5 | |||
6 | "$et" "$@" | sed '$d' | ||
7 | echo 'shexpand<<%' | ||
8 | cat "$__template__" | ||
9 | echo % | ||