On Tue, Feb 20, 2018 at 05:56:50PM -0500, Stuart Cassoff wrote: > > > > > ---------- Original Message ---------- > > > > > From: Stuart Cassoff <3...@bell.net> > > > > > Date: December 9, 2017 at 11:27 AM > > > > > > > > > > > > > > > Comment: > > > > > diff functions for Tcl > > > > > > > > > > Description: > > > > > A Tcl extension that provides utilities for comparisons of strings, > > > > > lists and files. > > > > > > > > > > The base comparison is a Longest Common Substring algorithm based on > > > > > J. W. Hunt and M. D. McIlroy, "An algorithm for differential file > > > > > comparison," > > > > > Comp. Sci. Tech. Rep. #41, Bell Telephone Laboratories (1976). > > > > > Available on the Web at the second author's personal site: > > > > > http://www.cs.dartmouth.edu/~doug/ > > > > > > > > > > It is basically an LCS diff algorithm implemented in C on top of > > > > > Tcl's API, > > > > > thus giving full Unicode and VFS support. > > > > > > > > > > > > > > > OK?
Hey Stuart, I use Tcl regularly so I thought I should give this a test for you. The port builds/packages fine here on amd64. The only thing portcheck complained about was line lengths on pkg/DESCR, so a 'fmt -w 72' is needed there. I loaded the module in tclsh8.6 interpreter and tested that I could reach the commands it provides, all seems good. $ tclsh8.6 % package require DiffUtil 0.4.0 % DiffUtil::diffFiles wrong # args: should be "DiffUtil::diffFiles ?opts? file1 file2" % DiffUtil::diffStrings wrong # args: should be "DiffUtil::diffStrings ?opts? line1 line2" Thanks for the port! -ryan