What action should one take when the following conditions are met:
- One gives an answer to a question.
- That answer gets upvoted, maybe accepted.
- One later realizes that another user had given almost the same answer to a similar question (not an exact duplicate).
I feel a moral duty to acknowledge the prior answer with a link in an edit to my own answer. Is that sufficient?
I could imagine going as far as deleting my own answer and linking to the original one in a comment, or telling the previous poster to repost his answer to the more recent question, thus getting the credit.
The last option of course is to ignore the issue and do nothing.