07-11-2008
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
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
The following command provides the usage in 1024-byte blocks
du -ks * | sort -n | echo "$1"
...
1588820 user10
2463140 user11
2464096 user12
5808484 user13
6387400 user14
.....
I am trying to produce an output of first coulmn by multiplying by 1024 so that the output should... (11 Replies)
Discussion started by: ghazi
11 Replies
2. Shell Programming and Scripting
Going to move this to another.. forum...
please delete. (0 Replies)
Discussion started by: briandanielz
0 Replies
3. Shell Programming and Scripting
Whats the best way to mirror a rdiff-backup to an external drive and persevere the rdiff history of the local copy ?
I was thinking
rsync ~/rdiffdirectory /directory on external volume
also if I did this...
rdiff-backup ~/rdiffdirectory /directory on external volume
... (0 Replies)
Discussion started by: briandanielz
0 Replies
4. Shell Programming and Scripting
Dear Friends,
Need your help once again.
I have a sql to download output in pipe separated format.
Due to that output looks haphazard.
E.G.
$cat output.temp
123|456|789|0
67345123||3455|1
7124563|432343414||345324
By any was can we arrange it in tabular format for better... (4 Replies)
Discussion started by: anushree.a
4 Replies
5. Shell Programming and Scripting
Hello Experts,
Below is the record i have:
sample data attached
I want this record of each row to be in single line and there are multiple rowise unixtime mentioned e.g 11996327 , This needs to be converted to Human readdable data and time from multiple rows
Can you help me , it will be... (10 Replies)
Discussion started by: manishK
10 Replies