I want column 2 to have the string Piebald, the order of the other strings doesn't matter. I have:
HR0024 Black pastel Piebald HR0028 Piebald MC0023 Piebald MC0039 Fire Piebald MC0075 Piebald VPI Axanthic MC0082 Pastel Piebald MC0120 Piebald Yellowbelly Het-Lavender MC0124 Super-Pastel Piebald Het-Clown MC0126 Fire Pastel Piebald MC0144 Piebald Vanilla
I want something like this:
HR0024 Piebald pastel Black HR0028 Piebald MC0023 Piebald MC0039 Piebald Fire MC0075 Piebald VPI Axanthic MC0082 Piebald Pastel MC0120 Piebald Yellowbelly Het-Lavender MC0124 Piebald Super-Pastel Het-Clown MC0126 Piebald Pastel Fire MC0144 Piebald Vanilla
Some rows are going to have the target strings on different columns (2, 3, or 4). I don't think
cut -f does the job here, I think
sed is needed. Any help is appreciated.