#!/bin/bash sed -nE 's/.* (\w+) was (shot|slain|killed|blown up) by.*/\1 is dead/p'
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
Alice is dead Charles is dead
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!