This commit is contained in:
2024-10-14 00:08:40 +02:00
parent dbfba56f66
commit 1462d52e13
4572 changed files with 2658864 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
nc -k -l 34567 | perl -e 'while (<>) {
($dttz,$id,$filter,$grep,$stream,$msg) = $_ =~ / ([+-:T0-9]*).*filter@([0-9]*).*filter="(.*)" grep="(.*)".*stream@[0-9]* stream="(.*)"] (.*)$/;
printf "DTTZ \"%s\" ID \"%d\" Stream \"%s\" Filter \"%s\" Grep \"%s\" Msg \"%s\"\n", $dttz, $id, $stream, $filter, $grep, $msg;
}'