From: Ian Jackson Date: Sat, 1 Apr 2017 12:16:58 +0000 (+0100) Subject: wip debug X-Git-Tag: hippotat/1.0.0~55^2~189 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=commitdiff_plain;h=75fce4757ae3a0996f4fc1e3e6e113a893811aef wip debug --- diff --git a/w3mstracetodump b/w3mstracetodump new file mode 100755 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 $!; +