The algorithm and application were published here.
Source code - almost identical with the original version - is in file fcomp.c.
To compile the original version, use the following command:
$ gcc -std=c89 fcomp.c -o fcompThen you can give it a try:
$ ./fcomp file1.txt file2.txtExpected output:
inserted after line 0:
b
x
x