Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

RE: RE: Line Ending Converter

by kayos (Sexton)
on Jun 16, 2000 at 00:02 UTC ( [id://18379]=note: print w/replies, xml ) Need Help??


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."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18379]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found