TL;DR
What is the difference between the criteria for self-answered questions and blog post?
I have a number of topics I'd like to write about, but I'm having a hard time deciding whether I should post a question and answer it myself, blog about it or just drop it altogether.
These are the specific topics and my thoughts about it:
How to enable stable SSH/SCP connections between two computers if one of them (or even both) can't accept incoming connections.
Parts of this are already answered on the site, but none of them covers the entire setup, the stability part or the second case.
I think this makes a specific questions that can be answered decisively with step-by-step instructions.
How does shell expansion work?
While this sounds like a question, it's a little broad. Anyway, the interesting part are the common pitfalls for new users (especially those who migrated from Windows).
Once you understand shell expansion perfectly, it's clear why commands like
tar xf ball.tar *
or
unzip *.zip
won't work, and that it is not necessary to resort to some combination of
find
/ls
andxargs
.This would either make a small number of specific questions (e.g., How to unzip all archives in a directory without using pipes?) or a single blog post (e.g., Common pitfalls of shell expansion.).
PCRE: How to "Find and Replace" N times without performing N "Find and Replace"s?
This seems to be a popular topic, and there are already three questions about it:
Find and Replace several several different values all at once
How replace many words with other many words in Notepad++? [closed]
Notepad++. How to replace different characters with corresponding letters at once?
The first question has an accepted answer saying it isn't possible (which is correct for non-PC RE) and offers a solution based on a single
sed
command (that nevertheless uses N different "Find and Replace"s). It also asks specifically how to replace two text strings with two other text stings at once, which is much more specific.The second question is a little more general (although it was closed as a duplicate of the first one), since it asks about the new Notepad++ (PCRE), and it doesn't require to perform only a single "Find and Replace".
The third question is more specific than the second one, since it only asks about replacing single characters.
I have answered the third question, and I though of a way to adapt my solution so N RegEx patterns can be replaced by N different RegEx patterns, performing only two "Find and Replace"s.
I think this could be quite useful in some situations (lowercasing words in all caps, uppercasing i's, remvoving whitespace before punctuation, etc.), but a new question would be a border-line duplicate. However, I don't know if it's really fitting for a blog post.