Hi all,
Am new to scripting. So i just need your ideas to help me out. Here goes my requirement.
I have two csv files
1.csv 2.csv
abc,1.24 abc,1
def,2.13 def,1
I need to compare the first column of 1.csv with 2.csv and if matches then need to compare... (2 Replies)
Hello - I have written the following basic shell script to count files, compare files and look for a particular strings in a file.
Problem 1: How do I define more than 1 file location?
#!/bin/bash
#this is a test script
FILES=$(ls /home/student/bin/dir1, home/student/bin/dir2)... (0 Replies)
We are testing an application that accesses two tables: A and B. I am to write a script to validate the ouput files of this application.The application marks any account that has become overdue as per rule. When it runs, it updates the overdue flag in the A table according to the following rules:
... (1 Reply)
Need perl script to compare the two CSV files and and give out put in CSV format
File MsPMTP.csv
File ProfileNames.csv
MsPMTP.csv is having lines like below
JBL_VIJ_A_A962/r01sr4sl12/port#01-#13-Au4P-4c-TMi-PMNETR15
JBL_VIJ_A_A962/r01sr4sl12/port#01-#13-Au4P-4c-TMi-PMFETR15... (9 Replies)
Hi, I am newbie in shell script.
I need your help to solve my problem.
Firstly, I have 2 files of csv and i want to compare of the contents then the output will be written in a new csv file.
File1:
SourceFile,DateTimeOriginal
/home/intannf/foto/IMG_0713.JPG,2015:02:17 11:14:07... (8 Replies)
Hi,
Very good wishes to all!
Please help to provide the shell script for generating the record counts in filed wise from the .csv file
My question:
Source file:
Field1 Field2 Field3
abc 12f sLm
1234 hjd 12d
Hyd 34
Chn
My target file should generate the .csv file with the... (14 Replies)
Hi All ,
I have multiple pipe delimited csv files are present in a directory.I need to find out distinct count on a column on those files and need the total distinct
count on all files.
We can't merge all the files here as file size are huge in millions.I have tried in below way for each... (9 Replies)
Hello,
I want to compare two csv files expected.csv and actual.csv by fields "f3", "f4", "f5". Field "z" can be differnt.
Each record identified by two fields: "number" +"key".
Records are not sorted.
Can you please help me to get such report:
Error: Mismatch in the record... (4 Replies)
Example:
I have files in below format
file 1:
zxc,133,joe@example.com
cst,222,xyz@example1.com
File 2 Contains:
hxd
hcd
jws
zxc
cst
File 1 has 50000 lines and file 2 has around 30000 lines :
Expected Output has to be :
hxd
hcd
jws (5 Replies)
Discussion started by: TestPractice
5 Replies
LEARN ABOUT CENTOS
rpmdev-diff
RPMDEV-DIFF(1) User Commands RPMDEV-DIFF(1)NAME
rpmdev-diff - manual page for rpmdev-diff version 1.4
SYNOPSIS
rpmdev-diff [OPTION]... [DIFF-OPTIONS] FROM-ARCHIVE TO-ARCHIVE
DESCRIPTION
rpmdev-diff diffs contents of two archives.
See rpmdev-extract(1) for information about supported archive types.
OPTIONS -c, --contents
Diff contents of files in archives. This is the default.
-l, --list
Diff lists of files in archives.
-L, --long-list
Diff long lists (akin to 'find -ls') of files in archives.
-m, --metadata
Diff archive metadata (only implemented for rpms for now).
-h, --help
Print help message and exit.
-v, --version
Print version information and exit.
diff-options
Options passed to diff(1). The first repeated argument of the above or the first argument starting with a '-' but not one of the
above starts diff-options, the first one not starting with it ends them. Default: -Nup for contents (in addition to -r which will
always be passed), -U0 for others.
More than one of -c, -l, -L, and -m may be specified.
REPORTING BUGS
Report bugs to <https://bugzilla.redhat.com/>.
COPYRIGHT
Copyright (C) 2004-2010 Ville Skytta <ville.skytta@iki.fi> This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
rpmdev-diff version 1.4 June 2014 RPMDEV-DIFF(1)