I do not think SO is a wiki for programming question. I feel it's a place for people to go for help when they have a problem.
Given I occasionally ask questions I could have looked up, so it helps other people, and occasionally I end up answering my own question (by looking it up), after I've given others a chance to provide an answer.
It just feels like abusing the system by asking a question you know the answer to. That will stay unanswered for 2 days (since that's how long it takes before you can accept your own answer). At the very least he should have given other people a chance to answer, instead of rep whoring.
(unix.stackexchange mod here)