Check if the $read parameter is not reading a blanck line. If he is that will give that error. To check that put for example:.
echo -s Line %Ti --> $read($1,%ti)
if the output appears only "Line x -->" itīs becouse somewhery on file you have blanckline.
Last edited by Miguel_A; 15/06/08 12:27 PM.