BEGIN { RS = "------" ; ORS = RS } $0 ~ "ERR: " { print }