10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys i have 3 files,
but i want to compare and diff only the 2nd column
for i in `cat domain.tx`
whois $i| sed -n '/Registry Registrant ID:/,/Registrant Email:/p' > $path/$i.registrant
whois $i| sed -n '/Registry Admin ID:/,/Admin Email:/p' > $path/$i.admin... (10 Replies)
Discussion started by: kenshinhimura
2. Shell Programming and Scripting
I need a small help to compare two PIPE delimited files.
Note : All The Files Have A Column Name
1|two|three... (2 Replies)
Discussion started by: anshultongia
3. Shell Programming and Scripting
Moderator, please, delete this topic (1 Reply)
Discussion started by: optik77
4. Shell Programming and Scripting
I've been trying various methods that I have found online with regards to comparing 2 files using the diff command. Nothing seems to work. The problem is that I'm not too familiar with the proper syntax. Can you please assist me. Here is my script:
awk -F',' -v file1="$1"... (9 Replies)
Discussion started by: ladyAnne
5. Shell Programming and Scripting
I have two files which look as below
serial="1" name="abc" type="employee" field="IT"
serial="2" name="cde" type="intern" field="Marketing"
serial="3" name="pqr" type="contractor" field="IT"
serial="4" name="xyz" type="employee" field="Sales"
serial="1"... (3 Replies)
Discussion started by: grajp002
6. UNIX for Dummies Questions & Answers
I use the diff command to compare two files and append this output to a file. I would like to now not only produce the differences but be able to output the total number of changes made, the number of new files added and the number of files deleted, is there I can do this using the diff... (2 Replies)
Discussion started by: cyberfrog
7. Shell Programming and Scripting
I have two files named file1 and file2.
Both the files contains the same contents with some difference in comments,space.But no content change.
I tried to find the diff between the two files to make sure that contents are same.
For that i tried
diff -ibw file1 file2
But... (1 Reply)
Discussion started by: ecearund
8. Shell Programming and Scripting
I need to compare 2 diff type of files and find out the duplicate after comparing each types of files:
Type 1 file name is like: file1.abc
(the extension abc could any 3 characters but I can narrow it down or hardcode for 10/15 combinations).
The other file is file1.bcd01abc (the extension... (2 Replies)
Discussion started by: ricky007
9. UNIX for Dummies Questions & Answers
I have file1 and file2. I am trying to get the difference between the two of them to another file? I have tried diff and fgrep with no luck.. I dont think I am using the proper switches to make this happen.
Can someone please give me the key to this lock?
Tbone (2 Replies)
Discussion started by: jtrevinojr
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