Sponsored Content
Full Discussion: readable rdiff output
Top Forums UNIX for Advanced & Expert Users readable rdiff output Post 302214010 by rakeshou on Friday 11th of July 2008 05:50:06 PM
Old 07-11-2008
Bug 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

formatting output in human readable numbers

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

Help with a using screen with rdiff-backup

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

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

Arranging Haphazard output in readable format

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

Multiple records need to convert UNIXtime to human readable datatime and all output in one format

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
librsync(3)						     Library Functions Manual						       librsync(3)

NAME
librsync - library for delta compression of streams SYNOPSYS
#include <stdio.h> #include <stdlib.h> #include <librsync.h> cc ... -lrsync DESCRIPTION
The librsync library implements network delta-compression of streams and files. The algorithm is similar to that used in the rsync(1) and xdelta(2) programs, but specialized for transfer of arbitrary-length octet streams. Unlike most diff programs, librsync does not require access to both of the files on the same machine, but rather only a short ``signature'' of the old file and the complete contents of the new file. The canonical use of librsync is in the rproxy(8) reference implementation of the rsync proposed extension to HTTP. It may be useful to other programs which wish to do delta-compression in HTTP, or within their own protocol. There are HTTP-specific utility functions within librsync, but they need not be used. A number of tools such as rdiff(1) provide command-line and scriptable access to rsync functions. SEE ALSO
rdiff(1) rdiff and librsync Manual http://rproxy.sourceforge.net/. draft-pool-rsync BUGS
The rsync protocol is still evolving. There may be bugs in the implementation. The interface may change in the future, but it is becoming more stable. Many routines will panic in case of error rather than returning an error code to the caller. Patches to fix this are welcome, but at the current state of development aborting seems as useful as trusting to possibly-incomplete checking in the client. AUTHOR
Martin Pool <mbp@samba.org>, with Andrew Tridgell <tridge@samba.org>. rdiff development has been supported by Linuxcare, Inc and VA Linux Systems. Martin Pool $Date: 2003/06/12 06:03:32 $ librsync(3)
All times are GMT -4. The time now is 06:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy