I'm not earning rep by editing answer/questions anymore. If I do, I do it with the best intentions and because I struggled myself to grasp some concept.
This post is about an edit I did on a Stack Overflow answer, which consisted of adding a link to Unix & Linux.
I was a bit surprised when I saw an awk
statement ending by }1
for the first time. Then I searched a bit, and I found this clear, detailed explanation. Oh, now I know how it works.
Then I end up on this question tagged both awk
and sed
, and I told myself "If the answer(s) only use either program, I'll answer using the other one". No way, a very good answer exists already which gives both alternatives. So far so good.
Then I notice that the awk
part of the answer ends by:
That last
1
is not a typo; it's an Awk idiom for "print all lines".
Well, this is actually misleading, as it connects 1
to a verb, print; in fact, that 1
has nothing to do with the lines, it incidentally relates to all lines, and definitely it has even less to do with printing, or with any other action. In short, this sentence is at least misleading and smoky (all the smoke tentatively hidden behind the word idiom).
Do I add a new question? No, I will just append a link to that UnixSE answer, without altering anything else, because the answer is high quality. And the author knows for sure the truth about 1
.
The edit is rolled back and put in a comment. Why? Isn't clarifying the meaning of a post without changing it, correcting minor mistakes, adding related resources or hyperlinks encouraged?
Well, the text of my edit was (full story of 1
). Maybe it sounded a bit Indiana Jones, I don't know, but the original answerer, @tripleee, could have incorporated the edit as he likes in the answer, so as to avoid a reader going away with the misconception that 1
prints stuff in awk
.
How can an edit, which is short, concise, appended, and clarifying, be considered invasive or "not worth it"?