10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like the output to be:
How can I achieve this?
So far what I though of is: (1 Reply)
Discussion started by: alvinoo
2. Shell Programming and Scripting
I am trying to compare two fixed width files as shown below. The file is NOT sorted. The field in bold red is the key field. The comparison needs to be based of key fields and not whole record. But needs to write out the whole record in the output.
A100135123456789 ... (5 Replies)
Discussion started by: Saanvi1
3. 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
4. Shell Programming and Scripting
Need Help. I have file1.txt as
File2.txt... (7 Replies)
Discussion started by: i150371485
5. Shell Programming and Scripting
I am new to Shell Scripting and need your help in the below situation.
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- "Application handle" is the common field in both the files.
(NOTE :- PLEASE REFER TO THE ATTACHMENT "Compare files... (2 Replies)
Discussion started by: Santoshbn
6. Shell Programming and Scripting
I have the following file
Essentially, I am trying to find the right awk/sed syntax in order to produce the following 3 distinct files from the file above:
Basically, I want to print the lines of the file as long as the second field of the current line is equal to the... (9 Replies)
Discussion started by: moutaye
7. UNIX for Dummies Questions & Answers
I have two files in UNIX.
1st file is Entity and Second File is References. 1st File has only one column named Entity ID and 2nd file has two columns Entity ID | Person ID.
I want to produce a output file where entity id's are matching in both the files.
624264... (4 Replies)
Discussion started by: PRS
8. Shell Programming and Scripting
It seems like a common task, but I haven't been able to find the solution.
12122,Jane,Thomas... (2 Replies)
Discussion started by: charles33
9. Shell Programming and Scripting
First, thanks for the help in previous posts... couldn't have gotten where I am now without it!
So here is what I have, I use AWK to match $1 and $2 as 1 string in file1 to $1 and $2 as 1 string in file2. Now I'm wondering if I can extend this AWK command to incorporate the following:
If $1... (4 Replies)
Discussion started by: right_coaster
10. Shell Programming and Scripting
I have "n" files in directory A and "n" files in directory B. The files are expected to be the same with same data. Each file has 14 columns and "x" rows. Of the 14 column, 2 columns are to be considered as key identifiers. Based on this unique combination, I need to compare each field value... (2 Replies)
Discussion started by: Sangtha