Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Format Streaming Text file with CR/LF

by pc88mxer (Vicar)
on Jul 22, 2008 at 18:46 UTC ( #699381=note: print w/replies, xml ) Need Help??


in reply to Format Streaming Text file with CR/LF

The best way depends on what application is going to use the outputted data. On Windows the standard is to use CR-LF at the end of lines, but the convention for Unix systems is just LF.
  • Comment on Re: Format Streaming Text file with CR/LF

Replies are listed 'Best First'.
Re^2: Format Streaming Text file with CR/LF
by drodinthe559 (Monk) on Jul 22, 2008 at 18:51 UTC
    It is going to be used on a Windows system. I'm not sure what the best approach to adding the CR/LF at every 90 position.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2023-03-22 03:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?