Inserting lines in between the contents of file.

Hi,

I want to insert some lines in between the contents of a file but the file format should not be changed.

#!/usr/bin/sh -
# Link appropriate OS specific versions of vxicap and vxchk4badblks
vxlvmlink()
{
vxipath=/usr/lib/vxvm/bin
relmajor=`uname -v`
relminor=`uname -r`

    if [ $relmajor -ne 5 ]; then
            ewritemsg -s ERROR -n vxlvmlink "vxlvmlink\(\) works only for 5.1 <= AIX <= 5.3\\n"
            return 255
    fi

}
PATH=/usr/lib/vxvm/bin:/sbin:/usr/sbin:/usr/bin

vxddladm excludearray all; vxdctl enable
vxddladm includearray all; vxdctl enable

# Retry connecting vold for 1 minute, fail otherwise
__VXVM_RETRY_SET="yes"
export __VXVM_RETRY_SET

I have to include the lines in blue color in between in the same place.
I don't want to change the format of file as it spoil all the alignment of code hence not interest to add the line using while read line.
Any other way to include the lines in between the files guys?

Regards,
Ajilesh

Something like this:

cp -p /tmp/sourcefile /tmp/sourcefile.orig
sed '/Retry connecting/i\
vxddladm excludearray all; vxdctl enable\
vxddladm includearray all; vxdctl enable\
' /tmp/sourcefile.orig > /tmp/sourcefile