4.3BSD/usr/contrib/icon/man/cat1/cppp.1




CPPP(1)               Icon Program Library                CPPP(1)



NNNNAAAAMMMMEEEE
     cppp - cp preprocessor

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     ccccpppppppppppp [----dddd identifiers] [----uuuu identifiers]

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     _C_p_p_p filters standard input to standard output, processing
     the C preprocessor control lines ####iiiiffffddddeeeeffff, ####iiiiffffnnnnddddeeeeffff, and ####eeeellllsssseeee.
     If the controlling identifier is in the arguments following
     the ----dddd option, the corresponding lines are included, while
     if the controlling identifier is in the arguments following
     the ----uuuu option, the corresponding lines are deleted. Other-
     wise, the preprocessor control lines are included.  The con-
     trol lines ####ddddeeeeffffiiiinnnneeee and ####uuuunnnnddddeeeeffff are deleted if the identifier
     is in either list.

     For example, suppose that a program contains code for 8-bit,
     16-bit, and 32-bit processors under control of the identif-
     iers BBBBIIIITTTT8888, BBBBIIIITTTT11116666, and BBBBIIIITTTTBBBB2222.  A version of the program for
     16-bit processors only can be obtained by

          cppp -d BIT16 -u BIT8 BIT32


LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNN
     _C_p_p_p assumes the input file is syntactically correct with
     respect to control lines.

AAAAUUUUTTTTHHHHOOOORRRR
     Ralph E. Griswold
























Version 5.9    The University of Arizona - 8/14/84              1