|
@@ -715,7 +715,7 @@ filter_json()
|
|
$AWK 'function ltrim(s) { sub(/^[ \t\r\n]+/, "", s); return s }
|
|
$AWK 'function ltrim(s) { sub(/^[ \t\r\n]+/, "", s); return s }
|
|
BEGIN { line=0; IGNORECASE=1; }
|
|
BEGIN { line=0; IGNORECASE=1; }
|
|
{ line++; }
|
|
{ line++; }
|
|
- NR == 1 && /^{.+"id"[ \t]*:[ \t]*[0-9]+[ \t]*}$/ { print; next; }
|
|
|
|
|
|
+ NR == 1 && /^[{].+"id"[ \t]*:[ \t]*[0-9]+[ \t]*}$/ { print; next; }
|
|
NR == 1 && /^200 OK/ { next; }
|
|
NR == 1 && /^200 OK/ { next; }
|
|
/^[ \t]*"jsonrpc":[ \t]*"2.0"/ { print; next; }
|
|
/^[ \t]*"jsonrpc":[ \t]*"2.0"/ { print; next; }
|
|
/^[ \t]*"result":[ \t]*\[.+/ {
|
|
/^[ \t]*"result":[ \t]*\[.+/ {
|