reduced rikiki again
This commit is contained in:
parent
db5e2f2e26
commit
2b25e92cad
|
@ -6,8 +6,9 @@ Fun fact: Rikiki source code is *three times smaller* than this readme file.
|
|||
|
||||
# History
|
||||
|
||||
* First verision : 532 bytes
|
||||
* First version : 532 bytes
|
||||
* Second version : 507 bytes
|
||||
* Third version : 477 bytes
|
||||
|
||||
|
||||
# Usage
|
||||
|
|
|
@ -9,5 +9,5 @@ c=s[0] if s else o(p).read()
|
|||
l[p]=[x[0] for x in r.findall(k,c)]
|
||||
h=r.sub(k,v,c,r.M)
|
||||
j.dump(l,o("b","w"))
|
||||
print(f'Content-Type: text/html\n\n<pre>{h}<form method=POST><textarea name=s>{c}</textarea><input type=submit></form>')
|
||||
print(f'\n\n<pre>{h}<form method=POST><textarea name=s>{c}</textarea><input type=submit>')
|
||||
[n==p and print(r.sub(k,v,m)) for m in l for n in l[m]]
|
Loading…
Reference in New Issue