We want to modify a plist file such that after matching a pattern it should insert few lines using sed shell command.
plist file format is as follow:
<
This might work for you (GNU sed):
sed -i -e '1,//{//{r template' -e '}}' file