Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 42,112 of 42,547    |
|    Andy Burns to Andy Burnelli    |
|    Re: How to insert contents of a file (or    |
|    19 Dec 22 09:48:57    |
      XPost: alt.comp.os.windows-10, alt.comp.microsoft.windows       From: usenet@andyburns.uk              Andy Burnelli wrote:              > How can one most easily insert contents of a file (or a line of text)       > at a given line-number location inside each of hundreds of text files?              https://www.gnu.org/software/sed/manual/sed.html              sed -i '22i This is your new line 22' filename.txt              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca