I have read through post #1 in this thread several times and still have no idea what you are trying to do.
You have one line between your two input files that match (the line in each file that contains the text column3). And, it appears that when you find that those lines do match, you ignore that fact completely. Then you say:
Quote:
I may have non match record on column3 between file1 and file1.
but there is only one column in file1 and what is a non match between a single file and itself?
If you are trying to produce a sorted list of the lines in two files and remove duplicates, try:
That produces the output you said you want, but it doesn't fit the description of the problem you presented.
Hi All,
I have a below file:
==================
02:53 pravin-root
02:53 pravin-root
03:05 pravin-root
02:55 pravin1-root
02:59 pravin1-root
==================
How do I find the first and last value of column 1. For example, how do I find 02:53 is the first time stamp and 03:05 is... (3 Replies)
My input:
File_1:
2000_t
g1110.b1
abb.1
2001_t
g1111.b1
abb.2
abb.2
g1112.b1
abb.3
2002_t
.
.
File_2:
2000_t Ali england 135
abb.1 Zoe british 150
2001_t Ali england 305
g1111.b1 Lucy russia 126 (6 Replies)
Hi Friends,
I have an input file of this kind
input.txt
output.txt
The logic is as follows, read a row, compare column1 to the next, if there is a match, compare column4. If these two match, grab the minimum of column2 and maximum of column3 and print the output with column1,... (3 Replies)
Hello, hopefully this is an easy on for the AWK guru's out there. I'm having some trouble figuring out how to match+merge data in 2 files into 1 single report.
I've got my 2 files filtered and delimited, just need to MATCH $3 in file1 to $1 in file2, then put $0 from File1 and $2+$3 from File2... (6 Replies)
not getting anywhere with this
an xml file contains multiple clients set up with same tags, different values.
I need to parse the file for client foo, and change the value of tag "64bit" from false to true.
cat clients.xml
<Client type"FIX">
<ClientName>foo</ClientName>... (3 Replies)
Dear Awk experts!
I have been trying to get a one liner for a match and merge operation, but having difficulties as I'm an awk newb. I always get stuck on the match and merge with 2 files.
I have 2 files as follows:
File 1:
field 1,field 2,field 3,field 4,field 5,field 6,field 7,field... (6 Replies)
Hi,
I wanted to merge the content and below is input and required output info.
Input:
/hello,a,r
/hello,a,L
/hello,a,X
/hi,b,v
/hi,b,c
O/p:
/hello,a,r:L:X
/hi,v,:v:c
Use code tags, thanks. (6 Replies)
I am trying to merge two lines to one based on some matching condition.
The file is as follows:
Matches filter:
'request ', timestamp, <HTTPFlow
request=<GET:
Matches filter:
'request ', timestamp, <HTTPFlow
request=<GET:
Matches filter:
'request ', timestamp, <HTTPFlow
... (8 Replies)
The below bash connects to a site, downloads a file, searches that file based of user input - could be multiple (all that seems to work). What I am not able to figure out is how to display on the screen match found or no match found" and write a file to a directory (C:\Users\cmccabe\Desktop\wget)... (4 Replies)
I am trying to create a cronjob that will run on startup that will look at a list.txt file to see if there is a later version of a database using database.txt as the source. The matching lines are written to output.
$1 in database.txt will be in list.txt as a partial match. $2 of database.txt... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT OSX
svk::merge::info
SVK::Merge::Info(3) User Contributed Perl Documentation SVK::Merge::Info(3)NAME
SVK::Merge::Info - Container for merge ticket information
SYNOPSIS
use SVK::Merge::Info;
my $minfo = SVK::Merge::Info->new( $svk_merge_property );
DESCRIPTION
An "SVK::Merge::Info" object represents a collection of merge tickets, including repository UUID, path and revision.
CONSTRUCTORS
new
Takes a single argument with the value of an "svk:merge" property.
METHODS
add_target
Add a single SVK::Target::Universal or SVK::Path to the collection of merge tickets.
del_target
Remove a single SVK::Target::Universal or SVK::Path from the collection of merge tickets.
remove_duplicated
Takes a single SVK::Merge::Info object as an argument. Removes merge tickets which are present in the argument and for which the
argument's revision is less than or equal to our revision.
subset_of
Takes a single SVK::Merge::Info object as an argument. Returns true if our set of merge tickets is a subset of the argument's merge
tickets. Otherwise, returns false.
is_equal
Takes a single SVK::Merge::Info object as an argument. Returns true if our set of merge tickets is equal to argument's. Otherwise,
returns false.
union
Return a new SVK::Merge::Info object representing the union of ourself and the SVK::Merge::Info object given as the argument.
resolve
verbatim
as_string
Serializes this collection of merge tickets in a form suitable for storing as an svk:merge property.
TODO
Document the merge and ticket tracking mechanism.
SEE ALSO
SVK::Editor::Merge, SVK::Command::Merge, Star-merge from GNU Arch
perl v5.10.0 2008-08-04 SVK::Merge::Info(3)