Ask for one-liner script to insert the content of one file to another file
Posted
by solotim
on Stack Overflow
See other posts from Stack Overflow
or by solotim
Published on 2010-04-13T07:17:15Z
Indexed on
2010/04/13
7:23 UTC
Read the original article
Hit count: 350
shell
Say I have file A, in middle of which have a tag string "#INSERT_HERE#". I want to put the whole content of file B to that postion of file A. I have tried using pipe to concatenate those contents, but I'm wondering if there is more advanced one-line script to handle it.
Thanks.
© Stack Overflow or respective owner