Hi,
I use Open Object REXX in Windows XP machine.
I am fairly new to REXX and I need some help. I have a text file with lots of data and I need to parse certain lines based on the following logic:
The input file looks like this:
I am fairly new to REXX
and I need some help
I have a text file with lots of data
and I need to parse certain lines
based on the following logic
When I find a certain word such as 'logic', I would like to send the current line and the two previous lines concatenated into a single line and copied to a new file. For example, here is what my output file should contain:
I have a text file with lots of data and I need to parse certain lines based on the following logic
Any help would be appreciated.
Thanks and regards,
TR
I use Open Object REXX in Windows XP machine.
I am fairly new to REXX and I need some help. I have a text file with lots of data and I need to parse certain lines based on the following logic:
The input file looks like this:
I am fairly new to REXX
and I need some help
I have a text file with lots of data
and I need to parse certain lines
based on the following logic
When I find a certain word such as 'logic', I would like to send the current line and the two previous lines concatenated into a single line and copied to a new file. For example, here is what my output file should contain:
I have a text file with lots of data and I need to parse certain lines based on the following logic
Any help would be appreciated.
Thanks and regards,
TR