| 1 |
.TH CTIE 1 20/04/2003 |
| 2 |
.SH NAME |
| 3 |
ctie \- merge or apply CWEB change files |
| 4 |
.SH SYNOPSIS |
| 5 |
.B ctie |
| 6 |
.B \-c|\-m |
| 7 |
.I outputfile masterfile changefile... |
| 8 |
|
| 9 |
.SH DESCRIPTION |
| 10 |
The |
| 11 |
.I CTIE |
| 12 |
program is used to process multiple change files used with the CWEB |
| 13 |
system for literate programming. The CWEB programs allow one to apply |
| 14 |
patches to a source file (the |
| 15 |
.IR masterfile ) |
| 16 |
by means of a single change file. |
| 17 |
.I CTIE |
| 18 |
can be used to either merge up to 32 change files into a single one or |
| 19 |
to apply the changes to the |
| 20 |
.I masterfile |
| 21 |
in order to create a new master file. Output of either the new change |
| 22 |
file or the patched master file goes into |
| 23 |
.IR outputfile . |
| 24 |
Any include files (indicated using the CWEB |
| 25 |
.I @i |
| 26 |
command) are fully expanded during |
| 27 |
.I CTIE |
| 28 |
processing, which means that the change files are able to modify the |
| 29 |
contents of any included files. Also, if this program has been |
| 30 |
compiled using the |
| 31 |
.I kpathsea |
| 32 |
library, then files are searched for using the |
| 33 |
.I CWEBINPUTS |
| 34 |
environment variable, as described in the |
| 35 |
.I kpathsea |
| 36 |
documentation. |
| 37 |
.SH OPTIONS |
| 38 |
.TP |
| 39 |
.B \-c |
| 40 |
Create a single change file from the given |
| 41 |
.IR changefiles . |
| 42 |
.TP |
| 43 |
.B \-m |
| 44 |
Create a new master file by applying the given |
| 45 |
.IR changefiles . |
| 46 |
.SH "SEE ALSO" |
| 47 |
.BR cweb (1), |
| 48 |
.IR ctiedoc.tex , |
| 49 |
.BR tie (1), |
| 50 |
.BR web (1). |
| 51 |
.SH "AUTHOR" |
| 52 |
Julian Gilbey, [email protected]. The original TIE program was by Klaus |
| 53 |
Guntermann, TH Darmstadt, Institut f. Theoretische Informatik. The |
| 54 |
TIE man page was by Joachim Schnitter, TH Darmstadt, Phys. Chemie I, |
| 55 |
and was modified for CTIE by Julian Gilbey. |