cpif(1)

cpif1

Selectively update files

Usage

cpif [{-eq | -ne}] file ...

Overview

cpif is an auxiliary tool for use with notangle(1) and make(1). cpif compares its standard input to each of the named files, overwriting the file if the comparison succeeds or if the named file does not exist. If neither -eq or -ne is specified, the default is -ne. Typical usage is in the following default rule, suitable for use in a Makefile.

.nw.h: ; notangle -Rheader $*.nw | cpif $*.h

Version

This man page is from noweb version 2.12.

Releases

15 releases since Debian 2.0 (Hamm); the text changed 4 times.

  1. 2.0–2.1
  2. 2.2–3.0
  3. 3.1
  4. 4.0–10
  5. 11–13

Author

Norman Ramsey, Tufts University. Internet address [email protected].
Noweb home page at http://www.cs.tufts.edu/~nr/noweb.

From noweb 2.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.