Short Description: Replaces a delimited chunk of text in a file with a delimited chunk of text in another file. You could think of it as copying part of a file. You use it like this: java -jar propagate.jar fromfile.txt tofile.txt '[start]' '[end]'
Long Description 1: Replaces a delimited chunk of text in a file with a delimited chunk of text in another file. You could think of it as copying part of a file. You use it like this: java -jar propagate.jar fromfile.txt tofile.txt '[start]' '[end]' You put the from file, to file, starting delimiter and ending delimiter on the command line. The from and to chunks need not be the same length. The fromfile is left unchanged
Long Description 2: Replaces a delimited chunk of text in a file with a delimited chunk of text in another file.
You could think of it as copying part of a file. You use it like this:
java -jar propagate.jar fromfile.txt tofile.txt '[start]' '[end]'
You put the from file, to file, starting delimiter and ending delimiter on the command line.
The from and to chunks need not be the same length. The fromfile is left unchanged.
The program presumes both files are encoded with UTF-8.
Java source code provided.
|