-11

I have asked How to silence the "default shell is zsh" warning on Stack Overflow instead of Ask Different.

  1. Found the answer later on and updated the question:

    Never mind, support.apple.com/kb/HT208050 contained the answer export BASH_SILENCE_DEPRECATION_WARNING=1

  2. The answer was stripped from the question.

  3. The question was closed.

Now it seems to be useless laying around taking up space.

What would be the best course of action?

  1. Waste some more space and bandwidth, and ask it on Ask Different (I assume there is no easy way to just move it to a sister site)?

  2. Abandon it?

  3. attempt to piggyback the answer to it that someone have "thoughtfully" edited out?

  4. Something else?

8
  • 11
    If you find an answer to your own question, you should post it as an answer, rather than editing it into the question. The answer was rightfully removed from the question because that's not where answers go - characterizing this as "mutilation" is a gross distortion of the facts. I appreciate that you can't post the answer now that the question has been closed, but it wasn't closed at the time you made the edit.
    – F1Krazy
    Commented May 10 at 11:53
  • 3
    On askdifferent it would just be a duplicate anyway (maybe of this one) so I would say delete and forget about it. Some things to take away - more research before asking a question, and more research into how the site works (that answers don’t go in the question should be pretty clearly explained in every site’s help center). Commented May 10 at 11:57
  • 1
    In fact, the exact situation you’re in now has been covered here before: What to do when the OP posted the answer in a question edit but the question is closed? Commented May 10 at 12:05
  • 8
    Step 1 of dealing with a mutilated and viciously closed question: don't exaggerate.
    – VLAZ
    Commented May 10 at 12:22
  • 1
    Delete it, then post the question on the correct site - where you can post the self-answer too, that's allowed. Be sure to check first it's not a duplicate.
    – W.O.
    Commented May 10 at 13:33
  • Yes testing-malady, thanks to you and the rest of the folks in the comments who have provided detailed answers and links Commented May 10 at 13:38
  • Should I delete this question as well? Would be kind of a waste considering amount of work that went explaining the nitty gritty to me. Commented May 10 at 13:44
  • @F1Krazy please don't encourage self-answers to things that are simply off topic. That just makes cleanup harder. While the question content is the wrong place for an answer, there isn't necessarily a right place. Commented May 11 at 3:03

1 Answer 1

10

I have asked How to silence the "default shell is zsh" warning

This was incorrect - it does not fall in the scope of Stack Overflow because it is not a programming question or one that uniquely applies to programmers. Many people use shells, including system administrators or even regular old power users. As such, the question did not belong to Stack Overflow to begin with.

Found the answer later on and updated the question

You should not have done this. Answers are posted in the answers section. If you do have an answer to a question of yours, then self-answer it.

See:

The answer was stripped from the question

The action was correct and as-per the policy. As mentioned above, answers should not be part of question bodies. The usual action when that happens is to remove it.

See:

The question was closed.

This was again reasonable - the question was closed as "This question is not about programming or software development." As outlined in the beginning - it is off-topic and the chosen close reason is applicable.

See:

Not the answer you're looking for? Browse other questions tagged .