[Oberon] Text processing problem?

eas lab lab.eas at gmail.com
Sun Apr 17 05:41:54 CEST 2016


I've often wondered how users of Microsoft and other 'proper' systems
solve problems like this:
* you fetch an important text file, which has 3 different possible
  classifications, so you chose <class A> to store it, after adding extra info;
* 4 years later, while searching on a suitable word you find that you have
  3 copies of *that* file in each of 3 classifications / directories, and each
  of slightly different size, from extra info added as you have read them.
* you want to consolidate the 3 copies to ONE file, without losing the
  extra info added.

Linux & LEO does this:.
* Linux find each file and push a button to append its location to <StakFile>;

* in LEO:    NB. for ETHO beginners: you don't type these commands;
     you just klik then on the menu: System3.Tool

*  fetch the tail of <StakFile>
*  EditTools.OpenUnix ^    for each of the 3 files
*  position the caret at the begin of 2 of the 3 files
*  TextDocs.SearchDiff ^^.
*  note the text differences following where the difference starts;
    possibly coloring the differences, for later comparison and manual
    editing to get ONE version.
# reposition the caretS where the 2 file syncronise & repeat above
--
# similarly compare the 3rd file with 1 or 2.
Decide which of the 3 classifications / Directories is to be used.

*VISUALLY* locate and compare the *COLORED* different <own info>
and edit these sections to a single version, in the FinalDestinationFile

How do you [who don't need more than 2 files viewable together]
do it ?

== Chris Glur.


More information about the Oberon mailing list