10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have 2 files abc.txt and bdc.txt.
I am using
$diff -y abc.txt bcd.txt -- compared the files side by side
I would like to write a Shell Script to cmpare the files side by side and print the results( which are not matched) in a side by side format and save the results in another... (10 Replies)
Discussion started by: vasuvv
2. Shell Programming and Scripting
I had a requirement to compare two files whether the two files are same or different .... like(files contaisn of two columns each)
how to... (2 Replies)
Discussion started by: hemanthsaikumar
3. Shell Programming and Scripting
I want to use shell script to generate network files (I tried with python but its taking too long).
I have a list of nodes:
I have an edge-list as well: edge.txt
Source_node ... (2 Replies)
Discussion started by: Sanchari
4. Shell Programming and Scripting
Basically, I have two files
157,ABBOTS ROADI want to find the numbers in dupestest.txt in haftest.txt... (4 Replies)
Discussion started by: amyc92
5. Shell Programming and Scripting
Hi Friends Need your expertise.
Command to check the difference and compare 2 files and remove lines . example
File1 is master copy and File2 is a slave copy . whenever i change, add or delete a record in File1 it should update the same in slave copy . Can you guide me how can i accomplish... (3 Replies)
Discussion started by: ajayram_arya
6. Shell Programming and Scripting
I have two files; file A and file B. I need all the entries of file A to be compared with file B line by line. If the entry exists on file B, then save those on file C; if no then save it on file D
Note :- all the columns of the lines of file A need to be compared, except the last two columns... (8 Replies)
Discussion started by: ajiwww
7. Shell Programming and Scripting
I am not familiar with shell programming. I have a requirement like i have two files
.I need to compare the two files by comparing each parameter and i should produce 2 outputs.
1)i have around 35 parameters say i have one parameter name called db_name=dcap in one file and... (7 Replies)
Discussion started by: muraliinfy04
8. Shell Programming and Scripting
I have a directory with about 6 files that we receive regularly. these 6 files contain information for 3 different units, 2 for each unit. files related to a specific unit are named similarly with a change in number at the end of the file. the numbers should be sequential. for each grouping of... (3 Replies)
Discussion started by: scriptman237
9. Shell Programming and Scripting
I have some data ( seperated by semicolon ) with close to 240 rows in a text file temp1.
temp2.txt stores 204 rows of data ( seperated by semicolon ).
I want to :
Sort the data in both files by field1.i.e first data field in every row.
compare the data in both files and print... (6 Replies)
Discussion started by: novice82
10. UNIX and Linux Applications
please help me to compare two files which are in different directory
file1<file will be master file>
file2 <will be in different folder>
the filesinside per folder i need to compare with master file... (1 Reply)
Discussion started by: revenna