#PHP, 153 bytes
PHP, 153 bytes
awfully long :(
for($s=$argv[$k=1];$t=$argv[++$k];){for(;$s>""&&strstr($t,$s)!=$t;$s=substr($s,0,-1))echo"$s
";for($i=strlen($s);$s<$t;$s.=$t[$i++])echo"$s
";echo"$s
";}
Run with php -nr '<ode>' <text1> <text2> ....