Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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
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 drinking their drinks and smoking their pipes about the Monastery: (16)
As of 2015-07-28 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls