Question: Extra empty line in linux than windows

Hello,

 

  Excuse me, I have a code

****

for i from 1 to 5 do
  f[i]:=i*2;
print(i,f[i]);
end do:

 

****

 

  In windows, the output is

 

**

                              1, 2
                              2, 4
                              3, 6
                              4, 8
                             5, 10

**

 

when i run the code in linux (openSUSE 11.3), the output becomes

**

                              1, 2


                              2, 4


                              3, 6


                              4, 8


                             5, 10

**

 

i.e. there is one extra empty line after each line. My question is, how to remove these lines?

 

Thank you very much in advance

 

Please Wait...