txt files in windows won't work in linux

Jesse Tie-Ten-Quee highos at linuxfromscratch.org
Sat Nov 30 18:41:05 PST 2002


On Sat, Nov 30, 2002 at 05:28:17PM +1100, john smith wrote:
> I have tried this and although the script files look normal from cat they
> never work complaining about "command not found" and other errors like that.
> can someone please tell me what I need to do to solve this. Is there some
> hidden characters in my text files.

I can't believe no one has posted this yet, has to be the simplest way to
fix this problem;

[21:40:50] <HIghoS> tux, dostounix
[21:40:50] <Tux> [dostounix]: cat filename | tr -d \\015 > newfile

End of problem :)

Jesse Tie-Ten-Quee  ( highos at linuxfromscratch dot org )
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list