A 'new line' on a unix box IS a 'line feed' (0x0A).  All you have to do is add the 
'carriage return' after any new line you find on your imput stream.  I'm sure there is 
a package that must do that somewhere.

Doug


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:55 PM
To: [EMAIL PROTECTED]
Subject: convert "new line" to "line feed" or "carriage return"


Hi all,
how could I convert "new line" to "line feed"(0x0A) or "carriage 
return"(0x0D,0x0A)?

thanks.
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to