I am beginner to bash scripting and I am not able to find a solution to my problem. I have a list of strings like in input.txt file separated by newline character:
TATAMOTORS TCS RELIANCE MARUTI
I have another file target.txt with more than 1000 lines in csv format which is of the following format:
I want to replace the time in field number 7 to 24:00:00 for all the lines where the column 4 (here TATAMOTORS) matches with any of the lines in input.txt file.
Can I do this with a simple bash command/script?