fork download
  1. #!/bin/bash
  2.  
  3. sed -nE 's/.* (\w+) was (shot|slain|killed|blown up) by.*/\1 is dead/p'
Success #stdin #stdout 0s 4508KB
stdin
18:45:23 [Server/Thread][INFO] Alice was shot by Bob using weapon
18:47:32 [Server/Thread][INFO] This log is absolutely useless
18:49:35 [Server/Thread][INFO] Charles was slain by Bob using his fists
stdout
Alice is dead
Charles is dead