Re: diff and patch

Liste des GroupesRevenir à cl tcl 
Sujet : Re: diff and patch
De : user153 (at) *nospam* newsgrouper.org.invalid (Arjen)
Groupes : comp.lang.tcl
Date : 17. Jun 2025, 13:13:59
Autres entêtes
Message-ID : <1750162439-153@newsgrouper.org>
References : 1
User-Agent : Newsgrouper/0.7.2

Mark Summerfield <m.n.summerfield@gmail.com> posted:

I want these functions:
 
    proc diff {old new} -> # diff data "ddata"
    proc patch {old ddata} -> # new
 
where old and new are strings.
 
I thought the Tcllib's rcs module could do this but I can't figure it out.
 
Is this possible using the rcs module or using the struct::list module's
LCS functions?

The patch functionality (but not the diff) is provided by the textutil package,
if I understand it correctly.

Date Sujet#  Auteur
17 Jun 25 * diff and patch8Mark Summerfield
17 Jun 25 +* Re: diff and patch3Arjen
17 Jun 25 i+- Re: diff and patch1Mark Summerfield
17 Jun 25 i`- Re: diff and patch1Mark Summerfield
17 Jun 25 `* Re: diff and patch4Rich
18 Jun 25  `* Re: diff and patch3Mark Summerfield
18 Jun 25   `* Re: diff and patch2Ashok
18 Jun 25    `- Re: diff and patch1Paul Obermeier

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal