I need help in file comparision.
I have two files in below format:
FILE_A:
-------
COL1 COL2 COL3 COL4 COL5
FILE_B:
-------
COL1A COL1B COL1C COL1D COL1E
i want to compare for a for each row in FILE_A and FILE_B
COL1 of FILE_A with COL1B of FILE_B
COL3 of FILE_A with COL1E of... (1 Reply)
I have learned file comparison from my previous post here. Then, it is comparing the whole line. Now, i have a new problem.
I have two files with 3 columns separated with a "|". What i want to do is to compare the second and third column of file 1, and the second and third column of file 2. And... (4 Replies)
Hello all,
I have below SQLs to compare data between 2 identical tables.in my database.
Can any body help me to convert this into a script
db2 "select *from TAB1 where PK IN (select PK from TAB2) order by BEDG_NR".
Note:
These SQL should run for any given 2 tables as input TAB1... (4 Replies)
Hi All,
i have a excel sheet with two columns as below.
column1 column2
100 100
200 300
300 400
400 400
500 600
i need to compare the values these two columns and the output should be printed in the third column...if these values are equal the output should be green and if these... (2 Replies)
Hello guys, I am quite new to Shell Scripting and I need help for this
I have a CSV file like this:
Requisition,Order,RequisitionLineNumber,OrderLineNumber
REQ1,Order1,1,1
REQ1,Order1,1,3
REQ2,Order2,1,5
Basically what I want to do is compare the first 3 fields
If all 3 fields are the same... (5 Replies)
Hi All,
Need to compare two date columns from the filname FinalDate.txt. My data's are like below
D_OT_START D_EXP_STR Amount
1/3/2012 1/3/2012 5000
6/21/2011 6/25/2011 6000
2/28/2011 2/28/2011 7000
7/16/2010 8/16/2010 8000
7/14/2010 10/26/2010 9000
... (3 Replies)
i have the following files (all separated by tabs):
file 1.txt
1 yes
2 no
3 yes
4 yes
file 2.txt
a no
b no
c yes
d no
i combine the above files in file 3 which looks like
file 3.txt
1 yes a no
2 no b no
3 yes c yes
4 yes d no
now, i need to compare the values between column 2... (3 Replies)
Hello Unix gurus,
I have a file with this format (example values):
label1 1 0
label2 1 0
label3 0.4 0.6
label4 0.5 0.5
label5 0.1 0.9
label6 0.9 0.1
in which:
column 1 is a row label
column 2 and 3 are values
I would like to do a simple operation on this table and get the... (8 Replies)
I'm trying to learn awk, but I've hit a roadblock with this problem. I have a hierarchy stored in a file with 3 columns:
id name parentID
4 D 2
2 B 1
3 C 1
1 A 5
I need to check if there are any values in column 3 that are not represented anywhere in column 1. I've tried this:
awk '{arr;}... (7 Replies)
Discussion started by: kaktus
7 Replies
LEARN ABOUT DEBIAN
audio::musepack
Audio::Musepack(3pm) User Contributed Perl Documentation Audio::Musepack(3pm)NAME
Audio::Musepack - An object-oriented interface to Musepack file information and APE tag fields.
SYNOPSIS
use Audio::Musepack;
my $mpc = Audio::Musepack->new("song.mpc");
my $mpcInfo = $mpc->info();
foreach (keys %$mpcInfo) {
print "$_: $mpcInfo->{$_}
";
}
my $mpcTags = $mpc->tags();
foreach (keys %$mpcTags) {
print "$_: $mpcTags->{$_}
";
}
DESCRIPTION
This module returns a hash containing basic information about a Musepack file, as well as tag information contained in the Musepack file's
APE tags.
CONSTRUCTORS
o new( $filename )
Opens a Musepack file, ensuring that it exists and is actually an Musepack stream, then loads the information and comment fields.
INSTANCE METHODS
o info( [$key] )
Returns a hashref containing information about the Musepack file from the file's information header.
The optional parameter, key, allows you to retrieve a single value from the info hash. Returns "undef" if the key is not found.
o tags( [$key] )
Returns a hashref containing tag keys and values of the Musepack file from the file's APE tags.
The optional parameter, key, allows you to retrieve a single value from the tag hash. Returns "undef" if the key is not found.
NOTE
This module is now a wrapper around Audio::Scan.
SEE ALSO
<http://www.personal.uni-jena.de/~pfk/mpp/index2.html>, Audio::Scan
AUTHOR
Dan Sully, <daniel@cpan.org>
Original Author: Erik Reckase, <cerebusjam at hotmail dot com>
COPYRIGHT
Copyright (c) 2003-2006, Erik Reckase. Copyright (c) 2003-2007, Dan Sully & Slim Devices. Copyright (c) 2003-2010, Dan Sully.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or,
at your option, any later version of Perl 5 you may have available.
perl v5.10.1 2010-12-26 Audio::Musepack(3pm)