07-11-2008
75,
1
Join Date: May 2007
Last Activity: 8 April 2011, 3:59 PM EDT
Posts: 75
Thanks Given: 0
Thanked 1 Time in 1 Post
readable rdiff output
Hi Experts,
I have to display rdiff in a readable format.
The rdiff output is as under:
Index: ivapp_conf/etc/PrdWest/process.par
diff -u ivapp_conf/etc/PrdWest/process.par:1.1.80.1 ivapp_conf/etc/PrdWest/process.par:1.1.80.5
--- ivapp_conf/etc/PrdWest/process.par:1.1.80.1 Wed Apr 9 10:50:39 2008
+++ ivapp_conf/etc/PrdWest/process.par Tue May 6 07:48:42 2008
@@ -102,7 +102,7 @@
MqScriptLauncher MqScrLauncher 1 1 60 T 1
[ level 2 ] #LR, SQE services
-lr_inf_svr lr_inf_svr 1 2 1 T 1
+lr_inf_svr lr_inf_svr 1 4 1 T 1
lr_cache_svr lr_inf_svr 3 5 1 T 1
lr_svr lr_inf_svr 3 5 1 T 1
cad_if_svr cad_if_svr 1 5 1 T 1
@@ -182,6 +182,7 @@
add_val_svr staging_mgr 3 5 1 T 1
core_if_svr core_if_svr 2 6 1 T 1
baais_if_svr baais_if_svr 3 7 1 T 1
+baais_web_svr baais_if_svr 1 2 1 T 1
awas_intfc_mgr awas_intfc_mgr 3 7 1 T 1
awas_inbound_mgr awas_intfc_mgr 3 7 1 T 1
dispatch_sync_svr dispatch_sync_svr 1 1 60 T 1
@@ -310,7 +311,7 @@
work_request_svr work_request_svr 1 4 1 T 1
work_process_svr work_process_svr 1 1 1 1 1
work_pre_act_svr work_if_svr 1 3 1 1 1
-work_olt_cut_req work_if_svr 3 4 1 1 1
+work_olt_cut_req work_if_svr 3 5 1 1 1
work_olt_cut_rsp work_if_svr 1 3 1 1 1
work_if_req_svr work_if_req_svr 2 5 1 1 1
work_if_test_svr work_if_req_svr 1 3 1 1 1
@@ -438,5 +439,6 @@
mercuryIfSvr mercuryIfSvr 1 1 1 T 1
mercuryPoller mercuryPoller 1 1 1 T 1
MercurySoapSvr MercurySoapSvr 1 1 1 T 1
+MailSvr MailSvr 1 1 1 T 1
I need to display the output so that the if a column in a row is changed from 3 to 4 then in the ouput, it should show as (3)/4 for that row
if its newly added , it should show as (-)/4 for that row
if 3 is deleted (3)/(-) for that row
please help me parse the output