On Sat, 12 Apr 2025 09:08:48 +0200, salva wrote:

>Meanwhile, until IBM offers a better regexp approach (especially for
>captures in replacements), I use a quick-and-dirty macro to:
>   -
Clearly, the Idea should b for ISPF to support Edit plug-ins.
These could use desktop displays by transports such as ssh,
sftp, X11, NFS, ...

>   Copy the current edit session to a /tmp file
>   -
>   Call bpxwunix("sed -E '/from/to/g' ifile > ofile") ...
>   -
>   Copy ofile back to the current session edit
>
If line numbers matter, as they did for us  supporting customer facing
Assembler code, the process might:
    o generate a patch with difff, ISRSUPC, ...
    o Apply the patch line- y-line, maintaining ISPF stats.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to