In nagios config
define service{
use generic-service
host_name xxx.xxx.com
service_description xxx Status
check_command check_http!xxx.xxx.com -S
}
I want to delete the entire section as given above matching regex xxx.xxx.com . How to do it using sed or any other Linux utility