[Info-vax] SET DEFAULT iterative logical name translation

alanfe...@gmail.com alanfeldman48 at gmail.com
Tue Oct 26 05:49:21 EDT 2021


On Tuesday, October 26, 2021 at 4:52:38 AM UTC-4, Henry Crun wrote:
> On 26/10/2021 8:49, Dave Froble wrote: 
> > On 10/25/2021 4:33 PM, Arne Vajhøj wrote: 
> >> On 10/25/2021 3:54 PM, Phillip Helbig (undress to reply) wrote: 
> >>> In article <sl6m42$4v0$1... at dont-email.me>, Stephen Hoffman 
> >>> <seao... at hoffmanlabs.invalid> writes: 
> >>>> EDT was long ago considered deprecated and ~immutable, and now it's 
> >>>> apparently not. 
> >>> 
> >>> Much faster than TPU: no cursor slow motion, doesn't read the whole 1-GB 
> >>> file if it just needs to change the top few lines.  Probably easier to 
> >>> script and run in batch. 
> >> 
> >> EVE/TPU is actually very powerful for scripting. 
> >> 
> >> Arne 
> >> 
> > 
> > When I need to change "ABC" to "XYZ", EDT is very useful ... 
> >
> But when you want to replace "ABC" with "XYZ" in every line containing "UVW" you need TPU "Learn" capability 
> 

Nope. EDT can do it! (ED is EDIT/EDT/.)

$ ED B.B
    1       ABC
*TYPE WH 
    1       ABC
    2       ABC UVW
    3       ABC
    4       ABC UVW
    5       ABC UVW
    6       ABC
[EOB]
*S/ABC/XYZ/ ALL 'UVW'
    2       XYZ UVW
    4       XYZ UVW
    5       XYZ UVW
3 substitutions
*TYPE WH
    1       ABC
    2       XYZ UVW
    3       ABC
    4       XYZ UVW
    5       XYZ UVW
    6       ABC
[EOB]
*

> -- 
> Mike R. 
> Home: http://alpha.mike-r.com/ 
> QOTD: http://alpha.mike-r.com/qotd.php 
> No Micro$oft products were used in the URLs above, or in preparing this message. 
> Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before 
> and: http://alpha.mike-r.com/jargon/T/top-post.html 
> Missile address: N31.7624/E34.9691

AEF



More information about the Info-vax mailing list