Some versions of ed return with an error code if they encounter an EOF. Thus: diff -ur teTeX-1.0/texk/dvipsk/texc.script teTeX-1.0-new/texk/dvipsk/texc.script --- teTeX-1.0/texk/dvipsk/texc.script Sun Nov 1 04:45:10 1998 +++ teTeX-1.0-new/texk/dvipsk/texc.script Fri Sep 15 22:06:05 2000 @@ -9,4 +9,5 @@ .,/% end code for uncompressed fonts only/d .,/% end of code for unpacking compressed fonts/s/% // w $2 +q edscriptend