Compare commits

..

6 Commits

Author SHA1 Message Date
Case Duckworth
07a6f0f479 Remove quotes 2021-01-30 15:51:23 -06:00
Case Duckworth
dc368a0482 Change functions to vars stupidly 2021-01-30 15:51:13 -06:00
Case Duckworth
489900a6d3 Don't echo 2021-01-30 15:51:04 -06:00
Case Duckworth
6ec019a830 Be stupid with args 2021-01-30 15:50:30 -06:00
Case Duckworth
eab65c7d1c Don't check for S existence
It'll complain, but who cares
2021-01-30 15:50:13 -06:00
Case Duckworth
929c95cdd0 Don't make parents 2021-01-30 15:49:50 -06:00

15
unk
View File

@ -1,13 +1,12 @@
#!/bin/sh
alias c=cat q=test e=echo
rm -r O;mkdir -p O
rm -r O;mkdir O
q -f L||e '`c $F`'>L
q -d S&&cp -r S O/
X(){ eval "$(e 'c<<';c "$@";e;e )";}
cp -r S O
X(){ eval "$(e 'c<<';c $1;e;e )";}
for F in I/*
do q -f "$F"&&(e $F
N="${F#I/}"
T(){ sed 1q "$F";}
B(){ sed 1d "$F";}
X L>"O/${N%.*}")
do(N=${F#I/}
T=`sed 1q $F`
B=`sed 1d $F`
X L>O/${N%.*})
done