to convert txt readable with simpletext at os9

Andy stude.list at
Tue Jul 22 11:27:50 UTC 2008

komputes wrote:
> I may be wrong here, but I thought that OS9 SimpleText and Ubuntu Text 
> Editor did the same thing and could read the same plain text files. I 
> don't know why conversion would be necessary. 

Because Windows, Mac and Linux all have different ways of marking line

If your file ONLY contains Mac Line Endings try the following

tr '\r' '\n' < in_file.txt > out_file.txt

(where in_file.txt is the file with Mac line endings and out_file.txt is
the file you want to save to. DO NOT make these the same file!).


More information about the ubuntu-users mailing list