chiark
/
gitweb
/
~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wip debug
[hippotat]
/
w3mstracetodump
diff --git a/w3mstracetodump
b/w3mstracetodump
new file mode 100755
(executable)
index 0000000..
bb9305e
--- /dev/null
+++ b/
w3mstracetodump
@@ -0,0
+1,10
@@
+#!/usr/bin/perl -n
+
+next unless s{^write\(7, "}{};
+next unless m/^POST|GET/..0;
+s{", \d+\)\s+= \d+\n}{};
+s{\\r}{\r}g;
+s{\\n}{\n}g;
+s{\\(.)}{$1}g;
+print or die $!;
+