diff options
author | Case Duckworth | 2021-01-30 15:31:12 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-30 15:31:12 -0600 |
commit | 833420b43293867f1698b3b30d1bfa821b3927de (patch) | |
tree | e6ea4f6aceeb8b7078550af85ef69e93436d2b75 | |
parent | Don't force removal of O; it should remove on its own (diff) | |
download | unk-833420b43293867f1698b3b30d1bfa821b3927de.tar.gz unk-833420b43293867f1698b3b30d1bfa821b3927de.zip |
Use ^D instead of ZZ
One byte control character. Saves 2b
-rwxr-xr-x | unk | 2 |
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 | |||
3 | rm -r O;mkdir -p O | 3 | rm -r O;mkdir -p O |
4 | q -f L||e '`c $F`'>L | 4 | q -f L||e '`c $F`'>L |
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)";} | ||
7 | for F in I/*;do | 6 | for F in I/*;do |
8 | q -f "$F"&& (e $F | 7 | q -f "$F"&& (e $F |
8 | X(){ eval "$(e 'c<<';c "$@";e;e )";} | ||
9 | N="${F#I/}" | 9 | N="${F#I/}" |
10 | T(){ sed 1q "$F";} | 10 | T(){ sed 1q "$F";} |
11 | B(){ sed 1d "$F";} | 11 | B(){ sed 1d "$F";} |