10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am having one awk and sed requirement for the below problem.
I tried multiple options in my sed or awk and right output is not coming out.
I am having a big file say file having repeated... (4 Replies)
Discussion started by: kshitij
2. Shell Programming and Scripting
# remote connection details
I need to compare the back.properties... (6 Replies)
Discussion started by: mohtashims
3. UNIX for Dummies Questions & Answers
Hi all, I need your help fixing an issue with this code. I am a newbie to UNIX programming and there is an issue with this code I am hoping you can help me correct.
I have two files (system_files with 8342 records and rules1.txt file with 762 records). My understanding from the script below, is... (2 Replies)
Discussion started by: Mustafa19804
4. Shell Programming and Scripting
Can you please help me to find out that where is the problem in my script or either my way of writing the shell command on the prompt is not right? Actually, I want to compare the second column "$1" of the file "t1" with all the columns of second file "t2", if there is a match then the... (2 Replies)
Discussion started by: coder83
5. Shell Programming and Scripting
I've two files with data like below:
So,the field separator in file1.txt is a comma and in file2.txt,it is |
Now,the output should be... (2 Replies)
Discussion started by: asyed
6. Shell Programming and Scripting
I'm a new user in awk and i'm trying to compare two files to create a third one if some values match in both files.
The first file has this content:
s 45.960746365 _21_ AGT 2490 [21:0 22:0
s 45.980418496 _21_ AGT 2491 [21:0 22:0
s 46.000090627 _21_ AGT 2492 [21:0 22:0
s 47.906552206... (2 Replies)
Discussion started by: carlosoria
7. Shell Programming and Scripting
Goal: To combine the data from two files into one file.
File1 = 11 fields, the first field is the unique key
File2 = 2 fields, the first field is the unique key
What I want to do is match File2:column1 with File1:column1 and if it matches, to add the data from File2:column2 to the matching... (2 Replies)
Discussion started by: jmcgranahan
8. Shell Programming and Scripting
I have to compare set of files so I created a case statement with the option to give more than one file to compare. The Problem now i am facing is, if I compare the files directly, from prompt or just using the script only for a particular file then It's saying No difference, but If I... (4 Replies)
Discussion started by: Sudhar
9. Shell Programming and Scripting
So here is goes to the Gurus of shell programming......I have tried a lot of different ways and its a very challenging code to write but i am enjoying it as i troubleshoot and hopefully someone can provide me a better option....Thank you in advance for your time and support....Much appreciated...
... (12 Replies)
Discussion started by: aavam
10. Shell Programming and Scripting
a new bie to awk,
How to compare substring of col1,file 1 with
col2file2 and get file1contents+col3file2 as output.
123,sukumar,UK... (4 Replies)
Discussion started by: jerome Sukumar