All pastes #932653 Raw Edit

Someone

public shellscript v1 · immutable
·published 2008-03-07 21:34 UTC
rendered paste body
tail -f $log_file | \grep "is blacklisted" | \sed -n 's/.*\[\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\)\].*/\1/p' | \while read line do   echo "found $line"done