in reply to RE: Line Ending Converter
in thread Line Ending Converter

I get confused. Is a return in a DOS text file \012\015 or \015\012? T.R. Fullhart, kayos@kayos.org

Replies are listed 'Best First'.
Re: RE: RE: Line Ending Converter
by MeowChow (Vicar) on Jun 04, 2001 at 20:06 UTC
    I use a little mnemonic device to remember this: "DOS is DOA". Well, actually, 0D0A, which converted to octal, is obviously \015\012.

    I use another mnemonic for \r\n. Because \n\r is not right :-)

       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print
      DOS Lives!
      Actually, DOShacker was my old handle but the connotation has changed quite a bit.
      Of course this was before I discovered 'NIX.

      -Lee

      "To be civilized is to deny one's nature."