Goo afternoon Sir'sould like to ask your help reagrding in this scenario using sed and awk.
Host:CDRMSAPPS1
Operating System:Linux 2.6.9-42.ELsmp
Machine Type:UNIX
Host Type:Client
Version:5.1
********************************************************
Universal Settings
Restore retries: 0
Browse timeframe for restores 0 days
Required network interface
********************************************************
Host:CERDB1
Operating System:Linux 2.6.9-22.ELsmp
Machine Type:UNIX
Host Type:Client
Version:5.1
********************************************************
Universal Settings
Restore retries: 0
Browse timeframe for restores 0 days
Required network interface
****************************
this is just a test
******************************
********************************
Hostname: cebudr
********************************************************
Host:ROAM-D
Operating System:Linux 2.6.9-34.ELsmp
Machine Type:UNIX
Host Type:Client
Version:5.1
Desired Output :
********************************************************
Host:CDRMSAPPS1
Operating System:Linux 2.6.9-42.ELsmp
Machine Type:UNIX
Host Type:Client
Version:5.1
********************************************************
********************************************************
Host:CERDB1
Operating System:Linux 2.6.9-22.ELsmp
Machine Type:UNIX
Host Type:Client
Version:5.1
********************************************************
*******************************************************
Host:ROAM-D
Operating System:Linux 2.6.9-34.ELsmp
Machine Type:UNIX
Host Type:Client
Version:5.1
********************************************************