| Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next 1 | 1. How to suppress CRLF at the end of a file with REXX and Regina on Windows #13632 | hello,
I use REGINA on Windows and I wrote a REXX as following: Example: File1.txt, content Company, name, email, File2.txt; content Company, name, File3.txt, content Company, name, email REXX: Statut_Email = Word(line,3) If Statut_email <> " " then do Email_list = Name_Email File_out=liste_mail Call Lineout File_out, Email_list
Here I can have 50 file.txt to be tested then one liste_mail file generated. And I need to suppress the last CRLF in the liste_mail new file.
Thanks for your help. | 2. #13633 Posted by: DougA 2013-03-25 21:22:47 | It sounds to me that your logic is falling through an empty write, causing an extra line in your file. More of your actual code would help.Doug | Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next 1 |
|
|