![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I am trying to find a way to edit files and replace a string with another, then save the new file.Just a simple replace command(s). I have searched the FAQ, and I found FAQ 6691 and FAQ 4676 with the same issue, but they didn't solve my problem. Will you suggest another resolution? Thankyou The Answer is : Without details and without background on exactly why the answer to topic (4676) was inapplicable here, the OpenVMS Wizard cannot particularly provide more specifics or better alternatives. The OpenVMS Wizard will GUESS that you don't know or don't have Perl or Python or such -- please see the OpenVMS FAQ for pointers to ports of these tools for OpenVMS. As was stated in (4676), Perl, DCL, and occasionally Teco and SUMSLP are the most common tools used for this purpose. Various versions of freeware tools such as awk and grep are also available for text searches and text updates on OpenVMS. You can also program various text editors present on OpenVMS. For instance, emacs can perform this task. There is an example of using TPU available in the Ask Compaq area of the Compaq website, search the OpenVMS support database listings for the article "Globally Replacing String In Batch Using TPU Procedure".
|