From ba7a8b4bd65780cb822cadf2348a833947e8e855 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 1 Jul 2019 13:03:35 -0500 Subject: Fix output file format --- unk | 10 +++++----- 1 file 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 rm -rf O;mkdir -p O q -f TM||e '`<$F`'>TM q -d S&&cp -r S O/ -X(){ eval "$(e 'c<"O/$FN";e OK) +N="${F##*/}" +T="$(sed 1q "$F")" +B="$(sed 1d "$F")" +X TM>"O/${N%%.*}.html") done -- cgit 1.4.1-21-gabe81