I've recently asked a question for which I have two good answers. I've up-voted both answers, but not yet designated one as the "correct" answer.

Since the answers have been posted, I've realized I made a mistake in my question: I incorrectly asserted that two similar commands gave the same output, when in fact they do not. I don't know how I managed to screw that up, but I did.

I've read an answer with advice on a similar situation, but it's a bit different situation.

My question is what to do about my screwed-up question?

1 Answer 1


I think slm's answer there applies here, too.

The core question you've asked -- in both the title and in the only question in your question -- is about the BEGIN statement in awk, which is what at least one answer has addressed. I would leave this question alone, apart from accepting any answer that you find useful.

Questions are free, so if you have a separate concern about the two commands, ask that separately.

I don't see a major impediment to your question by leaving the misunderstanding; I might even go so far as to edit the Q (or leave a comment on it) indicating that your original assumption was incorrect, in order to focus any future answers on your core question.

  • 2
    Sounds like a reasonable approach, and that's what I'll do. As an aside, I suppose now I should ask a question along the lines of. "What set of circumstances will cause these two statements to yield the same answer?" Then I'd learn where I screwed up :)
    – Seamus
    Apr 6, 2019 at 1:54

You must log in to answer this question.

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