hi i have another problem with loading program. this is new fresh file from another drive. in middle of loading error! NEAR LINE 27726 of /............................/ File ending with no percent sign. OK Click on OK and it load ok. when i open this file and add % sign and load again error say bad character '%" used.
mybe editor corrapted and need reload Ubunty? thanks aram > Aram, > >> File generated with CAD/CAM system. >> 0-4.5CAM11.nc extention is "nc" >> Type:NC File. >> When open file it looks like 0-4.5CAM11.nc-Notepad > > I assume from the extension that you have edited the file with Notepad > under Windows. > Then the problem is likely caused by a 'carriage-return / newline' > at the end of the line (as Frank has suggested). > >> Maybe i need to change extention to .txt and than take to UBUNTY -EMC2? > > The file extension is of no importance here. > >> In EMC2 I open text editor and use copy past. >> >> How i can detect problem? > > To see the invisible characters in the file, use the commands suggested > by Rob and myself in earlier replies. You can post the output of this > command. > > > You can get rid of the carriage return characters (cr = \r) with the > command > > tr -d '\r' < bad-file.txt > good-file.txt > > In which 'bad-file.txt' is the bad file, > and 'good-file.txt' is a corrected copy. > Watch the ',' and '>' tokens in the command above. > > Luc > > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
