about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xunk19
1 files changed, 9 insertions, 10 deletions
diff --git a/unk b/unk index cf982a7..0d49034 100755 --- a/unk +++ b/unk
@@ -1,14 +1,13 @@
1#!/bin/sh 1#!/bin/sh
2alias c=cat q=test e=echo 2alias c=cat q=test e=echo
3e UNK 3rm -rf O;mkdir -p O
4rm -rf o;mkdir -p o 4q -f TM||e '`<$F`'>TM
5q -e tm||e '`<$F`'>tm 5q -d S&&cp -r S O/
6q -d s&&cp -r s o/ 6X(){ eval "$(e 'c<<ZZ';c "$@";e;e ZZ)";}
7x(){ eval "$(e 'c<<Z';c "$@";e;e Z)";} 7for F in I/*;do
8for F in c/*;do 8q -f "$F"&& (e $F
9q -e "$F"&& (
10FN="${F##*/}" 9FN="${F##*/}"
11TT="$(head -n1 "$P")" 10TT="$(sed 1q "$F")"
12BD="$(tail -n+2 "$P")" 11BD="$(sed 1d "$F")"
13x tm>"o/$FN") 12X TM>"O/$FN";e OK)
14done 13done