On 2020-05-09, at 11:33:29, Glenn Knickerbocker wrote: > > On Fri, 8 May 2020 13:00:40 -0600, gil wrote: >> On 2020-05-08, at 12:46:56, Glenn Knickerbocker wrote: >>> Anybody have an existing idiom for picking out the section of a file >>> between the first and last matches with another file? >> How would you use the output of comparing? > > Currently I use SET SELECT in XEDIT to display new and changed lines in > the small file, and issue a MSG with a list of new words in the small > file. I want to add a MSG listing words removed from the small file. > That's why I need to find the start and end of it in the big file. > Could you use XEDIT in UPDATE mode to get a complete report of new, changed, and removed lines?
Or SUPERC on before and after versions of the small file? If not SUPERC, copy both instances to BFS and use diff? -- gil
