help with command

I am new to programming using the korn shell and I have a question:

Is there a way to take all the data in a file and insert it in another file, but between begin and end. Example below

begin
<-- Insert text here -->
end

Any suggustions would be much appreciated.<-- Insert text here -->

Take a look at the awk man page - you will find a /start/ /stop/ pair.

If this is an ascii text file, you can use cat.

cat file1 > file2

However, awk is a great tool. You really need to get the original book "The AWK Programming Language by Aho/Kernigan/Weinberger" and the "SED/AWK by O'Reilly".

It is powerful and a great addition to your scripting repertoire.(spelling?)

Here are some links that will help too.