# phpman > man > ctie(1)

[CTIE(1)](https://www.chedong.com/phpMan.php/man/CTIE/1/markdown)                                General Commands Manual                               [CTIE(1)](https://www.chedong.com/phpMan.php/man/CTIE/1/markdown)



## NAME
       ctie - merge or apply CWEB change files

## SYNOPSIS
       **ctie** **-c**|**-m** _outputfile_ _masterfile_ _changefile_...

## DESCRIPTION
       The  **ctie** program is used to process multiple change files used with the CWEB system for lit‐
       erate programming.  The CWEB programs allow one to apply patches to a source file  (the  _mas__‐
       _terfile_)  by means of a single change file.  **ctie** can be used to either merge up to 32 change
       files into a single one or to apply the changes to the _masterfile_ in order to  create  a  new
       master  file.  Output of either the new change file or the patched master file goes into _out__‐
       _putfile_.  Any include files (indicated using the CWEB **@i** command) are fully  expanded  during
       **ctie** processing, which means that the change files are able to modify the contents of any in‐
       cluded files.

## OPTIONS
### -c

### -m

## ENVIRONMENT
       The environment variable CWEBINPUTS is used to search for the input files, or the system  de‐
       fault  if CWEBINPUTS is not set.  See [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown) for the details of the searching.  To avoid con‐
       flicts with other programs that also use the CWEBINPUTS environment, you can be more specific
       and use CWEBINPUTS_ctie for special requirements in CTIE.

## SEE ALSO
       [**cweb**(1)](https://www.chedong.com/phpMan.php/man/cweb/1/markdown), _ctiedoc.tex_, [**tie**(1)](https://www.chedong.com/phpMan.php/man/tie/1/markdown), [**web**(1)](https://www.chedong.com/phpMan.php/man/web/1/markdown).

## AUTHOR
       Julian  Gilbey,  <jdg@debian.org>.   The original TIE program was by Klaus Guntermann, TH Darm‐
       stadt, Institut f. Theoretische Informatik.  The TIE man page was by  Joachim  Schnitter,  TH
       Darmstadt, Phys. Chemie I, and was modified for CTIE by Julian Gilbey.



Web2C 2022/dev                               8 June 2020                                     [CTIE(1)](https://www.chedong.com/phpMan.php/man/CTIE/1/markdown)
