about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-30 15:31:12 -0600
committerCase Duckworth2021-01-30 15:31:12 -0600
commit833420b43293867f1698b3b30d1bfa821b3927de (patch)
treee6ea4f6aceeb8b7078550af85ef69e93436d2b75
parentDon't force removal of O; it should remove on its own (diff)
downloadunk-833420b43293867f1698b3b30d1bfa821b3927de.tar.gz
unk-833420b43293867f1698b3b30d1bfa821b3927de.zip
Use ^D instead of ZZ
One byte control character.
Saves 2b
-rwxr-xr-xunk2
1 files changed, 1 insertions, 1 deletions
diff --git a/unk b/unk index cd139d5..738ca7e 100755 --- a/unk +++ b/unk
@@ -3,9 +3,9 @@ alias c=cat q=test e=echo
3rm -r O;mkdir -p O 3rm -r O;mkdir -p O
4q -f L||e '`c $F`'>L 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)";}
7for F in I/*;do 6for F in I/*;do
8q -f "$F"&& (e $F 7q -f "$F"&& (e $F
8X(){ eval "$(e 'c<<';c "$@";e;e )";}
9N="${F#I/}" 9N="${F#I/}"
10T(){ sed 1q "$F";} 10T(){ sed 1q "$F";}
11B(){ sed 1d "$F";} 11B(){ sed 1d "$F";}