On Fri, 27 Nov 2015 02:32:51 -0800 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote: > + sed -e '/^%prep/a\ > + \ zmodload zsh/param/private' < $ZTST_srcdir/B02typeset.ztst > private.TMP/B02 > > Does that cover it? If you want to be srue, stick a placeholder line in the file and simply replace that. pws