diff options
author | Case Duckworth | 2019-06-30 14:42:05 -0500 |
---|---|---|
committer | Case Duckworth | 2019-06-30 14:42:05 -0500 |
commit | f21affe233d54d5679506c8dc905426ddfd5184e (patch) | |
tree | ecde983c3596f4c96628d071f8e193916654e92a | |
parent | Initial commit with lht &shabby (diff) | |
download | unk-f21affe233d54d5679506c8dc905426ddfd5184e.tar.gz unk-f21affe233d54d5679506c8dc905426ddfd5184e.zip |
Rename
-rwxr-xr-x | unk (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 |
2 | T=tmpl | ||
3 | alias c=cat q=test e=echo | 2 | alias c=cat q=test e=echo |
3 | e UNK | ||
4 | rm -rf o;mkdir -p o | 4 | rm -rf o;mkdir -p o |
5 | q -e $T||e '`<$F`'>$T | 5 | q -e tm||e '`<$F`'>tm |
6 | q -d st&&cp -r st o/ | 6 | q -d s&&cp -r s o/ |
7 | x(){ eval "$(e 'c<<Z';c "$@";e;e Z)";} | 7 | x(){ eval "$(e 'c<<Z';c "$@";e;e Z)";} |
8 | for F in c/*;do | 8 | for F in c/*;do |
9 | q -e "$F"&& ( | 9 | q -e "$F"&& ( |
10 | FN="${F##*/}" | 10 | FN="${F##*/}" |
11 | TT="$(head -n1 "$P")" | 11 | TT="$(head -n1 "$P")" |
12 | BD="$(tail -n+2 "$P")" | 12 | BD="$(tail -n+2 "$P")" |
13 | x $T>"o/$FN") | 13 | x tm>"o/$FN") |
14 | done | 14 | done |