about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2019-07-01 13:03:35 -0500
committerCase Duckworth2019-07-01 13:03:35 -0500
commitba7a8b4bd65780cb822cadf2348a833947e8e855 (patch)
tree752575d7b78d93a8dcd8c2e9fa1bbfa4361975ad
parentFix typo (diff)
downloadunk-ba7a8b4bd65780cb822cadf2348a833947e8e855.tar.gz
unk-ba7a8b4bd65780cb822cadf2348a833947e8e855.zip
Fix output file format
-rwxr-xr-xunk10
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
3rm -rf O;mkdir -p O 3rm -rf O;mkdir -p O
4q -f TM||e '`<$F`'>TM 4q -f TM||e '`<$F`'>TM
5q -d S&&cp -r S O/ 5q -d S&&cp -r S O/
6X(){ eval "$(e 'c<<ZZ';c "$@";e;e ZZ)";} 6X(){ eval "$(e 'c<<Z';c "$@";e;e Z)";}
7for F in I/*;do 7for F in I/*;do
8q -f "$F"&& (e $F 8q -f "$F"&& (e $F
9FN="${F##*/}" 9N="${F##*/}"
10TT="$(sed 1q "$F")" 10T="$(sed 1q "$F")"
11BD="$(sed 1d "$F")" 11B="$(sed 1d "$F")"
12X TM>"O/$FN";e OK) 12X TM>"O/${N%%.*}.html")
13done 13done