Thanks for the reply... I an actually running the program on an UNIX platform, but it still uses CRLF in the output. I have actually tried: "print FILHNDL "Text...\012";" and the output is still translated to CRLF. Will utilities like dos2unix make a difference?
Regards, Charles Scheepers Pr.Eng. [EMAIL PROTECTED] (011) 324-9026 (084) 511-6164 -----Original Message----- From: Darbesio Eugenio [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 10:55 To: Charles Scheepers; [EMAIL PROTECTED] Subject: RE: linefeed -----Original Message----- Charles Scheepers wrote: >>>Hi All >>>I am having a problem with linefeed. I have written a program that writes records >>>to an output file. The program that uses this >>>file as input requires that all >>>records are ended with "\x0A" and not CRLF (\x0D\x0A). This program runs on UNIX. >>>How do I ensure that records are ended only with \x0A??? Do I have to use an other >>>method than: print FILHNDL "Text...";??? For keeping it simple I suggest you to write the text file as usually with <print FILHNDL "Text...";>, then to use UNIX utilities like as "dos2unix" to convert DOS text file in UNIX text file (you can run dos2unix from within Perl of course). E. LOQUENDO S.p.A. Vocal Technology and Services [EMAIL PROTECTED] ==================================================================== CONFIDENTIALITY NOTICE This message and its attachments are addressed solely to the persons above and may contain confidential information. If you have received the message in error, be informed that any use of the content hereof is prohibited. Please return it immediately to the sender and delete the message. Should you have any questions, please contact us by replying to [EMAIL PROTECTED] Thank you ==================================================================== This communication is private, privileged and confidential intended only for the named addressee. Any recipient who is not a named addressee is not entitled to retain, copy, disseminate or take action in reliance upon this communication. If you have received it in error, please notify the sender immediately and destroy the original. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]