about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2019-06-30 14:42:05 -0500
committerCase Duckworth2019-06-30 14:42:05 -0500
commitf21affe233d54d5679506c8dc905426ddfd5184e (patch)
treeecde983c3596f4c96628d071f8e193916654e92a
parentInitial commit with lht &shabby (diff)
downloadunk-f21affe233d54d5679506c8dc905426ddfd5184e.tar.gz
unk-f21affe233d54d5679506c8dc905426ddfd5184e.zip
Rename
-rwxr-xr-xunk (renamed from shabby)8
1 files changed, 4 insertions, 4 deletions
diff --git a/shabby b/unk index 277d021..cf982a7 100755 --- a/shabby +++ b/unk
@@ -1,14 +1,14 @@
1#!/bin/sh 1#!/bin/sh
2T=tmpl
3alias c=cat q=test e=echo 2alias c=cat q=test e=echo
3e UNK
4rm -rf o;mkdir -p o 4rm -rf o;mkdir -p o
5q -e $T||e '`<$F`'>$T 5q -e tm||e '`<$F`'>tm
6q -d st&&cp -r st o/ 6q -d s&&cp -r s o/
7x(){ eval "$(e 'c<<Z';c "$@";e;e Z)";} 7x(){ eval "$(e 'c<<Z';c "$@";e;e Z)";}
8for F in c/*;do 8for F in c/*;do
9q -e "$F"&& ( 9q -e "$F"&& (
10FN="${F##*/}" 10FN="${F##*/}"
11TT="$(head -n1 "$P")" 11TT="$(head -n1 "$P")"
12BD="$(tail -n+2 "$P")" 12BD="$(tail -n+2 "$P")"
13x $T>"o/$FN") 13x tm>"o/$FN")
14done 14done