Query: unifdef
OS: hpux
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
unifdef(1) General Commands Manual unifdef(1)NAMEunifdef - remove preprocessor linesSYNOPSISsym] sym] sym] sym]] ... [file]DESCRIPTIONsimulates some of the actions of in interpreting C language preprocessor command lines (see cpp(1)). For a valid preprocessor command line contains as its first character a and one of the following keywords: or The character and its associated keyword must appear on the same line, but they can be separated by spaces, tabs, and commented text. When appropriate, the portions of code surrounded by and including the targeted preprocessor directives are removed, and the resultant text is written to the standard output. Unlike does not insert included files, interpret macros, or strip comment lines. This means, among other things, that and macros occurring within the input text are not interpreted. Since is language-independent, it can be used for processing source files for languages other than the C language. For example, can be used on FORTRAN language source files, provided the C language preprocessor commands are used. Options recognizes the following command-line options: Complement the normal behavior by printing only the rejected lines. Ignore text delimited by sym. In other words, text that would otherwise be affected by some action is not touched when found within the context of a preprocessor command using sym. Ignore text delimited by sym. Replace rejected lines with blank lines in the text written to the standard output. Treat the input source as plain text. C-language comment and quoting constructs are not recognized. Define symbol sym. Cause symbol sym to be undefined.RETURN VALUEThe command returns the following exit values: 0 Output is an exact copy of the input. 1 Output is not an exact copy of the input. 2 The command fails. The failure might be due to a premature EOF or to an inappropriate orEXAMPLESAssume file contains the following: The command sequence: produces the following result in fileWARNINGSAny symbol name defined in the file must be specified in the command line; otherwise, will ignore the line.AUTHORwas developed in the public domain.SEE ALSOcpp(1). unifdef(1)
Related Man Pages |
---|
unifdef(1) - osx |
unifdef(1) - osf1 |
unifdefall(1) - netbsd |
unifdef(1) - sunos |
unifdefall(1) - freebsd |