perl -lwe 'print and /000$/ and warn "HERE$_\n" for 1..1e6' | tail -f