I have a file that has the following format:
text number number A;A;A;A;A;A text number number B text number number C;C;C;C;D;C;C;C;C
What I want to do is delete all the duplicate entries in the fourth column, so that in the end:
text number number A text number number B text number number C;D
I would prefer to use the bash script for the solution to fit into the pipe with other text manipulations that I do with this file.
Thanks!
source share