Re: [pure-lang-users] \r bug
Status: Beta
Brought to you by:
agraef
From: Jiří S. <jir...@bl...> - 2008-07-21 14:36:44
|
Eddie Rucker wrote: > When I tried to test a script I had written using notepad on my Linux > box I got the following errors. > > erucker@erucker:~/Desktop$ pure -i test.pure > 'est.pure:4.8: invalid character ' > test.pure:4.8: syntax error, unexpected invalid character > 'est.pure:5.14: invalid character ' > test.pure:6.28: syntax error, unexpected ']', expecting '=' or '|' > test.pure:6.62-64: syntax error, unexpected ']', expecting '=' or '|' > 'est.pure:6.66: invalid character ' > ... > This is problem of different file formats on Linux and Windows. Windows' text files have lines delimited by CR+LF characters wheras Linux' ones only by LF. Files created under Windows exhibit the described behaviour under Linux. Most programers' text editors (not Notepad) allow change the file format. Jiri |