It happened to me to land on this Stack Overflow question
The OP was trying to split a string of semicolon separated emails, however he put in his question the sentence
How do I split a string based on a delimiter in Bash? which was probably what drove google in my search as I was trying to understand exactly this, only applied to a string which contains spaces.
Some answer didn't work at all, while others worked perfectly even on my string with spaces in it, among them there were some good answers, only missing something to work on a string with spaces.
Of course I downvoted those which didn't work at all and upvoted the working ones.
Then I thought to downvote also those 'almost ok':
I mean, one of them is
echo "firstname.lastname@example.org;email@example.com" | sed -e 's/;/\n/g' firstname.lastname@example.org email@example.com
I downvoted this to motivate the answerer to add
1) how to create an array (the OP needed an array as well to loop over it)
arrIN=( $( echo "$IN" | sed -e 's/;/\n/g' ) )
2) to use
for string containing spaces.
I thought this because maybe people can land to this page searching a more generic scenario, as I did.
I added a comment while downvoting and thought to upvote them later if they decide to edit the answer adding those further details.
Then I realized I cannot upvote a downvoted answer, as I receive the following advice:
You last voted on this answer Sep 3 at 10:00 Your vote is now locked in unless this answer is edited
I googled and it seems a wanted feature, so .. is my behavior wrong?
If so: how can I now remove my downvote over those answers which were correct?
Maybe I would not upvote some of them because they are not best choices in a more general scenario, but they are correct for the question over email and they don't deserve a downvote.