Hi guy,
I have an output command like this:
Policy Name: NBU.POL.ORA.PROD
Policy Type: Oracle
Active: yes
HW/OS/Client: Linux RedHat2.6 node1
Iclude: /usr/openv/netbackup/scripts/backup_ora1.bash
I would like to parse the command to obtain this result:
node1 /usr/openv/netbackup/scripts/backup_ora1.bash
Now i use this command:
bppllist NBU.POL.ORA.PROD -U | awk '$1 == "HW/OS/Client:" {print $4} ; $1 == "Include:" {print $2}'
but the output is not my liking.
node1
/usr/openv/netbackup/scripts/backup_ora1.bash
Someone help me to obtain the correct form.
thanks a lot.