How do I insert some text in several files automatically?

Asked by feedfish

My problem is that I have several empty files and I would like to insert the same html body in these files. So I am looking at a script which do it. Can someone help me to write it in bash or another way?
Guillaume

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
feedfish
Solved:
Last query:
Last reply:
Revision history for this message
S.Vikash Koushik (vikashkoushik) said :
#1

Hi

    I don't think there is a way to do that.You can just do Ctrl+C & then Ctrl+V for the rest of your files.Thats the easiest solution that I know.

Revision history for this message
feedfish (anonymous4478) said :
#2

ok I was asking for a solution like a script bash but in my case it will be harder than doing that with an editor. So i run emacs and paste my text.
Thanks S.Vikash

Guillaume