i have a file which contains some block of lines like -
define host {
use linux-box
host_name node001
alias node001
address 192.168.36.133
}
define host {
use linux-box
host_name node002
alias node002
address 192.168.73.19
}
can anyone help me in getting a script which takes <node001> and <192.168.36.133> as search criteria search in the file and delete the block that matches the search