Hi,
how to read the 2 files and compare each other in shell script? i have 2 files test1 and test2, both files contains 20 character records.we have to compare file 1 records with file2, if exists then reject the record else we have to append it to test2 file. in file test1 around 100 single... (2 Replies)
hi experts
please help me to compare two files which are in different directory
file1<file will be master file>
(/home/rev/mas.txt}
ex x1
x2
file2 <will be in different folder>
(/home/rev/per/.....)
ex x3
x4
the filesinside per folder i need to compare with master file and the files... (2 Replies)
Hi Experts,
I have 2 files 1 file consists of 800 records and 2 file consists of 100 records with matching column as Membership_Num.So i need a script which will compare the 2 files and displays the output.As these are the files the script should take any delimter like (tab,comma) as input... (6 Replies)
Hi,
I have 2 files as below
FILE1.dat
co1|co2|co3
abnd|45.56|AZ
dkny|30.2|PA
sam|.23|VA
FILE.CTL
FILENAME|FILE1.dat
NO OF RECORDS|3
CHECKSUM|75.99
Could you please help me to write a shell script to compare
1. TOTAL RECORDS from FILE1.dat with NO of RECORDS in FILE.CTL
2.... (8 Replies)
I have these two file that I am trying to compare using shell arrays. I need to find out the changed or the missing
enteries from File2. For example. The line "f nsd1" in file2 is different from file1 and the line "g nsd6" is missing
from file2.
I dont want to use "for loop" because my files... (2 Replies)
Hi All,
I have 2 files like below
vi f1
frog
elephant
rabit
zebra
dog
vi f2
rabit
dog
==============
Now i want to comapre two files and the result will be
frog (8 Replies)
Hi,
I need shell script to compare the two files based on certain fields and output should contains the required fields based on result.pls find sample input files and required output
file 1
COUNT, BNG_IP,PORT,OVLAN
22 , 10.238.60.129,1/1,2009
144 , 10.238.60.129,1/1,2251
... (5 Replies)
Discussion started by: surender reddy
5 Replies
LEARN ABOUT DEBIAN
evs_join
EVS_JOIN(3) Corosync Cluster Engine Programmer's Manual EVS_JOIN(3)NAME
evs_join - Joins one or more groups in the EVS library
SYNOPSIS
#include <corosync/evs.h>
int evs_join(evs_handle_t handle, evs_group_t *groups, int group_entries);
DESCRIPTION
The evs_join function is used to join one or more groups. When a group is joined, using the evs_mcast_joined(3) function will multicast to
the groups joined in the argument handle. Messages that are sent to any of the groups joined to the parameter handle will be delivered by
evs_dispatch(3).
This call may be used more then once on a handle, in which case the joined groups will be all of the groups passed to the evs_join(3) func-
tion during the lifecycle of the parameter handle.
The argument groups is used to specify the groups to join. A group is a 32 byte key. The key is not a string, hence, the entire key is
used when joining the channel. For that reason the entire group should be initialized.
The argument group_entries specifies how many entries are located in the groups argument.
The groups argument is of the type evs_group_t which is defined by the structure:
typedef struct {
char key[32];
} evs_groups_t;
RETURN VALUE
This call returns the EVS_OK value if successful, otherwise an error is returned.
ERRORS
The errors are undocumented.
SEE ALSO evs_overview(8), evs_initialize(3), evs_finalize(3), evs_fd_get(3), evs_dispatch(3), evs_leave(3), evs_mcast_joined(3),
evs_mcast_groups(3), evs_mmembership_get(3)evs_context_get(3)evs_context_set(3)corosync Man Page 2004-08-31 EVS_JOIN(3)