I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy the valid string/lines to a output .CSV file based on the given search criteria.
I have attched the joblist and log file for your reference. Any early help would be greatly appreciated.
Expected output would be the list of lines that match with the job_ids that are present in the joblist.txt file.
Bascially, compare the list of job_ids present in the joblist.txt, with the job.log file and write only the lines that are matching with the job_ids >>to the output file
Note of the job_ids on the joblsit file are on the log file. Some jobs are listed in over 60 lines on the log file. Are those lines to be put on CSV file? Are all lines that match (if there was a match) to be put on a CSV file?