What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

Is it OK to ask a duplicate question simply for the purposes of linking your exact question to an identical, yet differently worded question.

For example, I want to know why, in bash, the EOF tactic/input redirection does not work when inside an if/elif/else block. The answer is in an unrelated question cat a file inside a shell function

What I want to do is ask a question along the lines of "Why does EOF and input redirection not work inside an IF block", then either immediately answer the question by linking to the other question, or request the question be closed as a duplicate.

share|improve this question
    
The "EOF redirection" thing is call here-documents, the token "EOF" there is just a placeholder, <<PONIES works too. Your question would be hard to understand as is. –  Mat Nov 15 '11 at 10:01
    
Is there a way to find out why this got downvoted? I find the question per se valid... –  Louise Oct 5 '12 at 13:39
    
@Louise I noticed there are much more downvotes on meta than SO –  puk Oct 8 '12 at 18:05

2 Answers 2

immediately answer the question by linking to the other question

Doing just that is not OK. Answers that just consist of a link to another answer should be comments.

request the question be closed as a duplicate

Well, you could do that, but I don't see much value. Duplicates are not always a bad thing, but voluntarily creating dups doesn't sound like a great idea to me.

I believe a better use of your time would be to edit that question and make it more general (for example, include an if/else example as an addition to the function one, and make the title more generic). As long as you don't change the fundamental problem the question raises, and that you don't make the existing answers irrelevant, that should make that question a better question, and make it more findable.

share|improve this answer

If the already existing question provides you with an answer which you are looking for, why do you want to create a dup? On the other hand, if you want to create a dup, then you must link that original question in your question and tell that you are looking for different answer. Be specific on what you are looking for and how is it different from the orginal answer obtained.

I think there is no point is simply creating dup and just requesting question to be closed as duplicate.

share|improve this answer
    
I was thinking somewhere along the lines of a symbolic link –  puk Nov 15 '11 at 10:41
    
@puk - I am not sure, how adding a symbolic link helps, if your question is dup? –  Sachin Shanbhag Nov 15 '11 at 11:38
    
I know this is old, but I just ran into a possible reason to create a dup on purpose: My problem is solved by another question, but my error manifests differently than described there, plus I have a minimal testcase to append to the question. This might make the answer more discoverable for others who have my error and not the OPs. So would that be ok? –  Louise Oct 5 '12 at 13:36

You must log in to answer this question.

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