Re: [Gambas-user] file.save saves in DOS format

2009-11-22 Thread nospam.nospam.nospam
Joshua Higgins wrote: > Thanks for the info. My program generates the /etc/exports file from > a list of IP addresses and allowed shares. For some reason, when I'm > using File.Save to save the contents of a TextArea to /etc/exports, > it is putting the two end of line characters like the DOS forma

Re: [Gambas-user] file.save saves in DOS format

2009-11-22 Thread Joshua Higgins
Thanks for the info. My program generates the /etc/exports file from a list of IP addresses and allowed shares. For some reason, when I'm using File.Save to save the contents of a TextArea to /etc/exports, it is putting the two end of line characters like the DOS format, instead of one, so the NFS

Re: [Gambas-user] file.save saves in DOS format

2009-11-21 Thread Jorge Carrión
Joshue: The difference between Dos an Unix format is de end of line. In Dos format are two characters , ascii 13 and ascii 10, and in Unix (linux) format is only one, ascii 10. Review your file about that end of lines. Regards 2009/11/22 Joshua Higgins > I'm using a File.Save to write the /etc/

[Gambas-user] file.save saves in DOS format

2009-11-21 Thread Joshua Higgins
I'm using a File.Save to write the /etc/exports file, but its not reading it. Opening it with nano says its "converted from DOS format". How do I write to a text file in linux format? -- joshua higgins >>-- -- Let