From 6791fa51f646a9e796c08e4357d7ce142d34a716 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 1 Jul 2019 16:12:05 -0500 Subject: Change T and B to functions --- unk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 unk diff --git a/unk b/unk old mode 100755 new mode 100644 index 57bf278..2cf2164 --- 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/${N%%.*}.html") +N="${F#I/}" +T(){ sed 1q "$F";} +B(){ sed 1d "$F";} +X TM>"O/${N%%.*}.htm") done -- cgit 1.4.1-21-gabe81