diff options
author | Case Duckworth | 2019-07-01 13:03:35 -0500 |
---|---|---|
committer | Case Duckworth | 2019-07-01 13:03:35 -0500 |
commit | ba7a8b4bd65780cb822cadf2348a833947e8e855 (patch) | |
tree | 752575d7b78d93a8dcd8c2e9fa1bbfa4361975ad | |
parent | Fix typo (diff) | |
download | unk-ba7a8b4bd65780cb822cadf2348a833947e8e855.tar.gz unk-ba7a8b4bd65780cb822cadf2348a833947e8e855.zip |
Fix output file format
-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 |