text: my1line my2line my3line my4line my5line my6line my7line my8line ...  words that want to be inserted : hello  desired output: my1line my2line hello my3line my4line hello my5line my6line hello my7line my8line ....  Tucked in repeatedly every few lines until it runs out, is there a way to do it?
How can I use text-processing tools to insert a new line after every N lines?  Example for N=2:  INPUT:   sadf asdf yxcv cxv eqrt asdf   OUTPUT:   sadf asdf  yxcv cxv  eqrt asdf
Favorites improvements - search, categorize, personal tags, add note, favorite answer I'm a big fan of the favorites feature. I usually mark questions with good answers of code snippets for later use.  Most of the time I can't find the favorite I'm looking for so quickly as desired. I know I marked the question in Stack Overflow, but it takes time to find it again, because of the following reasons:   lot of favorites lot of answers for a question (last time I was looking for an answer in the question ) the question title is not always what I'm looking for   To make favorites more useful I suggest the following features to be added:   Allow to mark an answer as favorite Allow to tag questions with own tags (those tags are personal and can not be seen by others) Search function over favorites Allow to add a personal note to a question Connect to SQL Server with Windows Authentication in a different domain I've read and have heard of both 'as per' and 'per' being used conversationally, both with the same connotation of either 'according to' or 'on authority of'  Examples:  "Tell Ron to start molding new rollers for the mecanum wheels, as per me"  "Per Mr. Crane, you need to start the molds for the new rollers."  They both establish the same context by setting that something should be done on the authority of someone else (or the speaker, per the first example (see what I did there?)). Or it acts as a way to cite a source of a statement, directive or fact in conversational speech.  My question is, what is, if any, the functional and syntactical difference between as per and per. If there are no differences, which is apropos to use? "What have you tried" epidemic Statistics  () In Q1 of 2012 - 0.0134 such comments per question (~1.33%) In Q2 of 2012 - 0.0167 such comments per question (~1.66%) In Q3 of 2012 - 0.0169 such comments per question (~1.68%) In Q4 of 2012 - 0.0193 such comments per question (~1.92%) In Q1 of 2013 - 0.0223 such comments per question (~2.22%)  The vast majority of these questions need serious help.  Unfortunately, there is a growing trend towards abuse Along with the good, comes some bad -- as usual in life. These comments are bad when  Posting &quot;what have you tried&quot; multiple times per question is severely obnoxious Posting &quot;what have you tried&quot; when the user has clearly shown that they have tried to solve it on their own  It is becoming increasingly common to see &quot;what have you tried?&quot; comments in these scenarios. Some examples     Workarounds Flagging Comments - It is considered a good thing to be liberal with comment flagging -- that helps us clean up after the fact. &quot;Too Chatty&quot; is a no-brainer here. Unfortunately, that only cleans up after the damage has been done. All signs point toward the continued increase of the trend of using &quot;what have you tried&quot; comments. I spend a lot of time editing and cleaning up bad questions. This trend came up on my radar toward the end of last year and it is getting worse. So, I thought at the very least that I'd raise some awareness. I am creating backup and after completion I got this..  Could not back up the following files. Please make sure you are able to open them.      /home/vinay/.cache/dconf     /home/vinay/.gvfs   I through terminal to open these file using  cd /home/vinay/.cache/dconf   It shows  bash: cd: /home/vinay/.cache/dconf: Permission denied   How can I get access to these files?  Is it fine to get permissions or leave as it is and not creating any backup for these files? What type of solder is safest for home (hobbyist) use? Why can't helicopters reach mount everest? Comprehensive book on group theory for physicists? I am looking for a good source on group theory aimed at physicists. I'd prefer one with a good general introduction to group theory, not just focusing on Lie groups or crystal groups but one that covers "all" the basics, and then, in addition, talks about the specific subjects of group theory relevant to physicists, i.e. also some stuff on representations etc.  Is Wigner's text a good way to start? I guess it's a "classic", but I fear that its notation might be a bit outdated? What is the use case for a Fragment with no UI? How do I see that every left ideal of a square matrix ring over a field is principal? As the question title suggests, how do I see that every left ideal of a square matrix ring over a field is principal? Best practices for storing UI settings? How can I evaluate a C# expression dynamically? I would like to do the equivalent of:  object result = Eval("1 + 3"); string now    = Eval("System.DateTime.Now().ToString()") as string   Following Biri s , I got this snippet (modified to remove obsolete method ICodeCompiler.CreateCompiler():  private object Eval(string sExpression) {     CSharpCodeProvider c = new CSharpCodeProvider();     CompilerParameters cp = new CompilerParameters();      cp.ReferencedAssemblies.Add("system.dll");      cp.CompilerOptions = "/t:library";     cp.GenerateInMemory = true;      StringBuilder sb = new StringBuilder("");     sb.Append("using System;\n");      sb.Append("namespace CSCodeEvaler{ \n");     sb.Append("public class CSCodeEvaler{ \n");     sb.Append("public object EvalCode(){\n");     sb.Append("return " + sExpression + "; \n");     sb.Append("} \n");     sb.Append("} \n");     sb.Append("}\n");      CompilerResults cr = c.CompileAssemblyFromSource(cp, sb.ToString());     if (cr.Errors.Count &gt; 0)     {         throw new InvalidExpressionException(             string.Format("Error ({0}) evaluating: {1}",              cr.Errors[0].ErrorText, sExpression));     }      System.Reflection.Assembly a = cr.CompiledAssembly;     object o = a.CreateInstance("CSCodeEvaler.CSCodeEvaler");      Type t = o.GetType();     MethodInfo mi = t.GetMethod("EvalCode");      object s = mi.Invoke(o, null);     return s;  } SubView slide in animation, iphone How does Ethernet know how long a frame is? I want to change the default location of "Save a screenshot to Pictures" to save it to Desktop.   If that is not possible, is there any other way to do it? I am using Ubuntu GNOME 17.04.  NOTE: I don't want to change the location with dconf-editor as it changes the location of screenshot applet and not of the shortcut I require. Allowing line break at ',' in inline math mode? In the inline math mode ($...$), if the formula is too long, LaTeX will try to break it on operators, e.g.  very long text followed by a very long equation like $a+b+c+d+e+f+g+h+i+j+k+l$ etc   may be rendered as  very long text followed by a very long equation like a+b+c+d+e+f+g+h+i+ j+k+l etc   However, the break won't happen if they are separated by commas, e.g.  very long text followed by a very long equation like $a,b,c,d,e,f,g,h,i,j,k,l$ etc   will overflow the page like  very long text followed by a very long equation like a,b,c,d,e,f,g,h,i,j,k,l etc   How to make LaTeX able to insert line breaks after a comma too? Isomorphism between dual space and bilinear forms Studying from Roman's Advanced Linear Algebra, I want to prove that $$U^* \otimes V^* \cong (U \otimes V)^* \cong \hom(U,V;\mathbb{F})$$ The author proves that $U^* \otimes V^* \cong (U \otimes V)^*$ by showing that there is an unique linear transformation   $$\theta:U^* \otimes V^* \to (U \otimes V)^*$$  defined by $\theta(f \otimes g)=f \odot g$ where $(f \odot g)(u \otimes v)=f(u)g(v)$  I want to prove that $U^* \otimes V^* \cong \hom(U,V;\mathbb{F})$. I tried to use the universal property by fixing $f \in U^*, g\in V^*$ and defining $S: U^*\times V^* \to \hom(U,V;\mathbb{F})$ as $S(f,g)=F_{f,g}$, where $F_{f,g}(u,v)=f(u)g(v)$, but I got stuck. My opponent casts , which resolves, then he attacks with his creatures.  In my hand, I have a creature card with Flash. If I summon this creature before the declare blockers step, will it be affected by Predatory Rampage's blocking requirement? MCMC in a frequentist setting I have been trying to get a sense of the different problems in frequentist settings where MCMC is used. I am familiar that MCMC (or Monte Carlo) is used in fitting GLMMs and in maybe Monte Carlo EM algorithms. Are there more frequentist problems where MCMC is used? Allow bounty to be set with reputation from another site? Here's one to get shot down: How about letting bounties to be set using the reputation gained through the use of another site? So, for instance, I'm a programmer with a high Stack Overflow rep who hates using computers. Wouldn't it be useful for me to be able to exchange some of my excess Stack Overflow credit to incentivise a question on Super User?   Or perhaps I'd like to highlight a question on Meta Stack Overflow, but I don't spend my time there.