diff options
-rwxr-xr-x | unk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unk b/unk index 0d49034..57bf278 100755 --- a/unk +++ b/unk | |||
@@ -3,11 +3,11 @@ alias c=cat q=test e=echo | |||
3 | rm -rf O;mkdir -p O | 3 | rm -rf O;mkdir -p O |
4 | q -f TM||e '`<$F`'>TM | 4 | q -f TM||e '`<$F`'>TM |
5 | q -d S&&cp -r S O/ | 5 | q -d S&&cp -r S O/ |
6 | X(){ eval "$(e 'c<<ZZ';c "$@";e;e ZZ)";} | 6 | X(){ eval "$(e 'c<<Z';c "$@";e;e Z)";} |
7 | for F in I/*;do | 7 | for F in I/*;do |
8 | q -f "$F"&& (e $F | 8 | q -f "$F"&& (e $F |
9 | FN="${F##*/}" | 9 | N="${F##*/}" |
10 | TT="$(sed 1q "$F")" | 10 | T="$(sed 1q "$F")" |
11 | BD="$(sed 1d "$F")" | 11 | B="$(sed 1d "$F")" |
12 | X TM>"O/$FN";e OK) | 12 | X TM>"O/${N%%.*}.html") |
13 | done | 13 | done |