thanks all, KiXtart will do the job however as was stated is too slow for a large file. It would work well for some smaller files. Below is the script that was tested & worked if anyone needs it.

IF Open(1,"c:\temp\Filein.txt",2) = 0
Open (2,"c:\temp\Fileout.txt",5)
$x = ReadLine(1)
WHILE @ERROR = 0
$y = Rtrim($x) + chr (10)
Writeline (2,$y)
$x = ReadLine(1)
LOOP
Close (1)
Close (2)
ENDIF