This may be little confusing. I have Script1, which pulls data from the system and creates another script(lets say script2). While I run script1 I need to add printf/echo statements for script2, so that when I run script2 I see those statement.
eg: script1 765
printf " display frame-$1 timeoffset " >> script2
script2
display frame-765 timeoffset
printf " Enter the time offset " # this is printf /echo statement I want to add in script1
read time
I thought it would be something like this.
on script1
printf " display frame-$1 timeoffset " >> script2
printf " printf "Enter the time offset " " # this is the one I have problem with
printf " read time"