10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Below are the sample files. x.txt is from an Excel file that is a list of users from Windows and y.txt is a list of database account.
$ head -500 x.txt y.txt
==> x.txt <==
USER01 ... (3 Replies)
Discussion started by: newbie_01
2. Shell Programming and Scripting
I have two files:
smw:/working/iso_testing # cat a
smw:/working/iso_testing # cat b
QConvergeConsoleCLI-1.1.03-49.x86_64.rpm... (12 Replies)
Discussion started by: jedlund21
3. Shell Programming and Scripting
I'm trying to compare 2 files for differences in a selct number of fields. When differnces are found it will write the whole record of the second file including appending '|C' out to a delta file. Each record will have 20 fields, but only want to do comparison of 1st 15 fields. The 1st field of... (7 Replies)
Discussion started by: sljnk
4. Shell Programming and Scripting
(say) I have 2 csv files - file1.csv & file2.csv as mentioned below:
The... (7 Replies)
Discussion started by: Naresh101
5. Shell Programming and Scripting
I am having two csv files i need to compare these files and the output file should have the information of the differences at the field level.
out put file: (12 Replies)
Discussion started by: karingulanagara
6. Shell Programming and Scripting
Diff output as follows:
< AAA BBB CCC DDD EEE 123
> PPP QQQ RRR SSS TTT 111
> VVV WWW XXX YYY ZZZ 333
> AAA BBB CCC DDD EEE 124
How can i use awk to compare the last field to determine if the counter has increased, and need to ensure that the first 4 fields must have the same... (15 Replies)
Discussion started by: ux4me
7. Shell Programming and Scripting
Looking for a quick AWK script to output some differences between two files.
device1 18.104.22.168 PINGS
device1 22.214.171.124 PINGS
2862 SITE1 device1-prod 126.96.36.199 icmp - 0 ... (4 Replies)
Discussion started by: stacky69
8. Shell Programming and Scripting
Am new to scripting. So i just need your ideas to help me out. Here goes my requirement.
I have two csv files
I need to compare the first column of 1.csv with 2.csv and if matches then need to compare... (2 Replies)
Discussion started by: chinnahyd
9. Shell Programming and Scripting
I have made several attempts to read two files of ip addresses and eliminate records from file1 that are in file2.
My latest attempt follows. Everything works except my file3 is exactly the same as file1 and it should not be.
# Utility will create a file... (8 Replies)
Discussion started by: altamaha
10. Shell Programming and Scripting
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3.
file 3 should have
I have looked at diff, bdiff, cmp, comm, diff3 without any luck! (2 Replies)
Discussion started by: blt123