At 06:29 PM 11/3/2008, you wrote:
>Hello Everyone
>
>Oh boy I really seem to have a knack of not doing things right.
>
>I've downloaded 'engrave-11.py' - should add here on my windows computer.
>Windows adds a few lines to the top of the downloaded file. Will these cause
>a problem?
>
>Anyway I delete these 'additions' and rename the file 'engrave-11.py'
>because it always want to stick 'txt' or 'hmt' on the end of the file name.
>
>I then take a copy to the other computer (Linux OS)
>
>I saved it to the desktop, 'ticked' the box to make it executable. I've
>tried 'run in Terminal' and 'run' - nothing seems to happen, except for a
>screen for a split second when I 'run it Terminal'
>
>I've downloaded it 4/5 times now, tried loading with the windows additions
>without the window additions, always get the same result.
>
>I've missed something, can't for the life of me see what, can anyone help
>please.
>
>Regards
>
>Dave

Dave,

         I didn't see this in any of the other answers given, but you 
might want to try the dos2unix command once you get the file onto 
your Linux box.  Windows tends to add an extra carriage return with 
the line feed at the end of each line (which shows up as a ^M if I 
remember right).  Some code interpreters disregard this but others 
don't.  At any rate, dos2unix is run on the command line - $dos2unix 
<input file> <output file>.  This cleans up the extraneous carriage 
returns in the file.

Mark 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to