It's bee a long time since i've down any real programming... and I knew there was a difference! :-) Thanks for character codes, whe I encounter a need to parse one or the other, I know what to look for! --Greg ----- Original Message ----- From: "John Rye" <[EMAIL PROTECTED]> > > End of line character in Unix is a single linefeed character Hex 0A > > In Dos systems it is a carriage-return linefeed pair 0A 0D > > If you are to convert from one to the other you need to add or > remove the corresponding character - no mean feat if there is > a lot of data involved, text or otherwise. > > If you are dealing with binary encoded data - then you have an even > greater problem to deal with. > > Cheers > > Greg Stewart wrote: > > > > The text file structure in Unix is slightly different from that in windows. > > You'll noticed, occassionally, that if you open some Unix-created text files > > in Windows notepad/word you may see little blocks at line's end. > > > > I'm not sure that the "carriage return" is different in the oses, but they > > seem to handle the end-of-line differently. And I think (again, not sure) > > that there are a few different ways of handling this. > > > > --greg > > ______________________________________________________________________________ Vous avez un site perso ? 2 millions de francs � gagner sur i(france) ! Webmasters : ZE CONCOURS ! http://www.ifrance.com/_reloc/concours.emailif
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
