about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-30 15:28:28 -0600
committerCase Duckworth2021-01-30 15:28:28 -0600
commitba91b9d3da4e0ab27c8b648170e02556bd7fb6f1 (patch)
treed752e522c6e22697cfde5cdd3db7bab4c87b8e59
parentAdd links to repos (diff)
downloadunk-ba91b9d3da4e0ab27c8b648170e02556bd7fb6f1.tar.gz
unk-ba91b9d3da4e0ab27c8b648170e02556bd7fb6f1.zip
Move TM to L; change I/ file names
TM->L saves 3b
changing I/ filenames to include the output extension before the input extension
saves 4 bytes, and it's more flexible: it can output any type of files now.
-rw-r--r--I/carpe-diem.html.lh (renamed from I/carpe-diem.lh)0
l---------I/index.html.lh (renamed from I/index.lh)0
-rw-r--r--I/rosa-rosa-rosam.html.lh (renamed from I/rosa-rosa-rosam.lh)0
-rw-r--r--I/spqr.html.lh (renamed from I/spqr.lh)0
-rw-r--r--I/tu-quoque.html.lh (renamed from I/tu-quoque.lh)0
-rw-r--r--L (renamed from TM)0
-rwxr-xr-xunk4
7 files changed, 2 insertions, 2 deletions
diff --git a/I/carpe-diem.lh b/I/carpe-diem.html.lh index c5ea725..c5ea725 100644 --- a/I/carpe-diem.lh +++ b/I/carpe-diem.html.lh
diff --git a/I/index.lh b/I/index.html.lh index 32d46ee..32d46ee 120000 --- a/I/index.lh +++ b/I/index.html.lh
diff --git a/I/rosa-rosa-rosam.lh b/I/rosa-rosa-rosam.html.lh index fe0de0e..fe0de0e 100644 --- a/I/rosa-rosa-rosam.lh +++ b/I/rosa-rosa-rosam.html.lh
diff --git a/I/spqr.lh b/I/spqr.html.lh index 88b609a..88b609a 100644 --- a/I/spqr.lh +++ b/I/spqr.html.lh
diff --git a/I/tu-quoque.lh b/I/tu-quoque.html.lh index 1e5ada2..1e5ada2 100644 --- a/I/tu-quoque.lh +++ b/I/tu-quoque.html.lh
diff --git a/TM b/L index 6b63dbb..6b63dbb 100644 --- a/TM +++ b/L
diff --git a/unk b/unk index 3c9e749..eee8c1b 100755 --- a/unk +++ b/unk
@@ -1,7 +1,7 @@
1#!/bin/sh -e 1#!/bin/sh -e
2alias c=cat q=test e=echo 2alias 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 L||e '`c $F`'>L
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<<ZZ';c "$@";e;e ZZ)";}
7for F in I/*;do 7for F in I/*;do
@@ -9,5 +9,5 @@ q -f "$F"&& (e $F
9N="${F#I/}" 9N="${F#I/}"
10T(){ sed 1q "$F";} 10T(){ sed 1q "$F";}
11B(){ sed 1d "$F";} 11B(){ sed 1d "$F";}
12X TM>"O/${N%%.*}.htm") 12X L>"O/${N%.*}")
13done 13done