I have two files Here is the first line of each let's call them A and B
0075e97d637e643aff05ffcc04cd0701 RAW_DAY_01_190520/A016R374/[login to view URL]
3a70395ca1d499f115095c26b5fc0040 MAINSTREAM/DAY_01_190520/RAW_DAY_01_190520/A013R374/A013R374/[login to view URL]
First one A start with 2 spaces before text B start right on text.
I would like a script that can do the following.
Go line by like of B comparing the Hash to A and append OK to the end of the line of B if it's found
As a bonus, I would like the run it in reverse to catch any files that may be in A and not in B and output those lines to another file.
8 freelancers are bidding on average $86 for this job
Hello, I'm an expert in Linux (18 years of experience; Debian, Ubuntu, CentOS and many others), bash/shell scripting, etc. Please look at my profile for my previous bash/shell projects.
Hi, I can create same script with Python and can add much more functions to it if you need. Additionally description given by you are not clear please regarding hash comparison. Kindly elaborate in msg box.