|
Just doing replace dosn't do the job ...
Here are the RPGLE code that does the trick:
Yes, I can see why you'd want to do that instead of:
sed 's%[<]%\r\n<%g' < infile > outfile
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Man does not live by words alone, despite the fact that sometimes he has to
eat them."
-- Adlai Stevenson
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.