Problem with Replace & CReplace
Brought to you by:
rexx
THE-3.2B1
Using a regina macro I am trying to replace a line.
1: #!/usr/bin/perl
with
#!/usr/bin/perl
Every other line replaces perfectly. But when I do a
replace on that first line I get sent back to the main
screen and I have to ctrl-c to get returned to the edit
session. The code snippet is below. Not sure if this
is THE bug or regina bug.
do until eof.1 = 'ON'
'extract /curline'
parse value curline.3 with junk ':' RepLine
RepLine = strip(RepLine,l)
'Replace' RepLine
'next'
'extract /eof'
end
Thanks
Mark Pace
Logged In: YES
user_id=86185
Please try this with 3.2; works for me.
Could it be that you have LINEND ON # ?