A few days ago, I answered Find the odd character out in a pattern with a bash script.
Today, my answer was outscored by somebody else. Since all the heavy lifting was done by PCREs anyway, I decided to port my bash-grep-sed-grep approach to Perl, which managed to save quite a few characters. So far, so good.
What I'm wondering is if I did good in editing my answer to incorporate the second solution. I chose to do so since the approach is basically the same, just the language changed. But now that I did it, it just feels messy.
The answer has gotten a little bit bloated (it was quite long anyway), I literally wrote things like How this is achieved is explained in the bash version below. and I can't further golf any of the two solutions without modifying the other solution as well.
So, what do I do now?
Split the answer in two? If so, which solution do I move out of the existing answer?
Delete the bash solution entirely? It's a lot longer than the Perl solution anyway.
Keep editing and leave things as they are?